diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-03-18 10:29:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-20 13:38:09 +0100 |
commit | bbcf50b1d6b38e34958a1572f4077fa12d3dc24d (patch) | |
tree | d8ca87db12908845b68d398bbd16f0f8f975ff56 /drivers/ntb | |
parent | regulator: palmas: Use of_property_read_bool to read "ti,warm-reset" DT property (diff) | |
download | linux-bbcf50b1d6b38e34958a1572f4077fa12d3dc24d.tar.xz linux-bbcf50b1d6b38e34958a1572f4077fa12d3dc24d.zip |
regulator: palmas: rename probe/remove callback functions
When palmas regulator probe creates stack dump during initialization
due to some crash, it prints the call trace as follows:
[3.166321] [<c028fa20>] (_regmap_read+0x5c/0xa8) from [<c028fab0>] (regmap_read+0x44/0x5c)
[3.174669] [<c028fab0>] (regmap_read+0x44/0x5c) from [<c023062c>] (palmas_probe+0x240/0x7d0)
[3.183193] [<c023062c>] (palmas_probe+0x240/0x7d0) from [<c0284064>] (platform_drv_probe+0x14/0x18)
[3.192322] [<c0284064>] (platform_drv_probe+0x14/0x18) from [<c0282ee4>] (driver_probe_device+0x104/0x214)
[3.202055] [<c0282ee4>] (driver_probe_device+0x104/0x214) from [<c028167c>] (bus_for_each_drv+0x5c/0x88)
The palmas_probe is current name but it helps on debugging if the
function name is more appropriate to the sub-module name.
Renaming the palmas_probe() to palmas_regulator_probe() and
palmas_remove() to palams_regulator_remove().
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions