diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-12-24 22:04:13 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2018-01-21 12:56:36 +0100 |
commit | 5bbecc5d3454d1069baf061a2cf0f04d0f0b9e7f (patch) | |
tree | 2c888f01d136b63e3789289493960964275de201 /lib/earlycpio.c | |
parent | watchdog: sp5100_tco: Use dev_ print functions where possible (diff) | |
download | linux-5bbecc5d3454d1069baf061a2cf0f04d0f0b9e7f.tar.xz linux-5bbecc5d3454d1069baf061a2cf0f04d0f0b9e7f.zip |
watchdog: sp5100_tco: Clean up function and variable names
Use more common function and variable names.
Use pdev instead of dev for platform device.
Use sp5100_tco_probe() instead of sp5100_tco_init() for the probe function.
Drop sp5100_tco_cleanup(); just move the code into sp5100_tco_remove().
Use sp5100_tco_init() instead of sp5100_tco_init_module() for the module
initialization function.
Use sp5100_tco_exit() instead of sp5100_tco_cleanup_module() for the module
exit function.
Use consistent defines for accessing the watchdog control register.
Cc: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions