forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
....@@ -2,7 +2,7 @@
22 * Support for configuration of IO Delay module found on Texas Instruments SoCs
33 * such as DRA7
44 *
5
- * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
5
+ * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/
66 *
77 * This file is licensed under the terms of the GNU General Public
88 * License version 2. This program is licensed "as is" without any
....@@ -263,9 +263,9 @@
263263 reg_val |= reg->unlock_val << __ffs(reg->lock_mask);
264264 r = regmap_update_bits(iod->regmap, cfg->offset, reg_mask, reg_val);
265265
266
- dev_info(dev, "Set reg 0x%x Delay(a: %d g: %d), Elements(C=%d F=%d)0x%x\n",
267
- cfg->offset, cfg->a_delay, cfg->g_delay, c_elements,
268
- f_elements, reg_val);
266
+ dev_dbg(dev, "Set reg 0x%x Delay(a: %d g: %d), Elements(C=%d F=%d)0x%x\n",
267
+ cfg->offset, cfg->a_delay, cfg->g_delay, c_elements,
268
+ f_elements, reg_val);
269269
270270 return r;
271271 }
....@@ -452,8 +452,8 @@
452452
453453 pin = ti_iodelay_offset_to_pin(iod, cfg[pin_index].offset);
454454 if (pin < 0) {
455
- dev_err(iod->dev, "could not add functions for %s %ux\n",
456
- np->name, cfg[pin_index].offset);
455
+ dev_err(iod->dev, "could not add functions for %pOFn %ux\n",
456
+ np, cfg[pin_index].offset);
457457 return -ENODEV;
458458 }
459459 pins[pin_index] = pin;
....@@ -461,8 +461,8 @@
461461 pd = &iod->pa[pin];
462462 pd->drv_data = &cfg[pin_index];
463463
464
- dev_dbg(iod->dev, "%s offset=%x a_delay = %d g_delay = %d\n",
465
- np->name, cfg[pin_index].offset, cfg[pin_index].a_delay,
464
+ dev_dbg(iod->dev, "%pOFn offset=%x a_delay = %d g_delay = %d\n",
465
+ np, cfg[pin_index].offset, cfg[pin_index].a_delay,
466466 cfg[pin_index].g_delay);
467467
468468 return 0;
....@@ -923,7 +923,6 @@
923923 .probe = ti_iodelay_probe,
924924 .remove = ti_iodelay_remove,
925925 .driver = {
926
- .owner = THIS_MODULE,
927926 .name = DRIVER_NAME,
928927 .of_match_table = ti_iodelay_of_match,
929928 },