| .. | .. |
|---|
| 2 | 2 | * Support for configuration of IO Delay module found on Texas Instruments SoCs |
|---|
| 3 | 3 | * such as DRA7 |
|---|
| 4 | 4 | * |
|---|
| 5 | | - * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ |
|---|
| 5 | + * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * This file is licensed under the terms of the GNU General Public |
|---|
| 8 | 8 | * License version 2. This program is licensed "as is" without any |
|---|
| .. | .. |
|---|
| 263 | 263 | reg_val |= reg->unlock_val << __ffs(reg->lock_mask); |
|---|
| 264 | 264 | r = regmap_update_bits(iod->regmap, cfg->offset, reg_mask, reg_val); |
|---|
| 265 | 265 | |
|---|
| 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); |
|---|
| 269 | 269 | |
|---|
| 270 | 270 | return r; |
|---|
| 271 | 271 | } |
|---|
| .. | .. |
|---|
| 452 | 452 | |
|---|
| 453 | 453 | pin = ti_iodelay_offset_to_pin(iod, cfg[pin_index].offset); |
|---|
| 454 | 454 | 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); |
|---|
| 457 | 457 | return -ENODEV; |
|---|
| 458 | 458 | } |
|---|
| 459 | 459 | pins[pin_index] = pin; |
|---|
| .. | .. |
|---|
| 461 | 461 | pd = &iod->pa[pin]; |
|---|
| 462 | 462 | pd->drv_data = &cfg[pin_index]; |
|---|
| 463 | 463 | |
|---|
| 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, |
|---|
| 466 | 466 | cfg[pin_index].g_delay); |
|---|
| 467 | 467 | |
|---|
| 468 | 468 | return 0; |
|---|
| .. | .. |
|---|
| 923 | 923 | .probe = ti_iodelay_probe, |
|---|
| 924 | 924 | .remove = ti_iodelay_remove, |
|---|
| 925 | 925 | .driver = { |
|---|
| 926 | | - .owner = THIS_MODULE, |
|---|
| 927 | 926 | .name = DRIVER_NAME, |
|---|
| 928 | 927 | .of_match_table = ti_iodelay_of_match, |
|---|
| 929 | 928 | }, |
|---|