diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-12-24 13:04:13 -0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2018-01-21 12:56:36 +0100 |
commit | 5bbecc5d3454d1069baf061a2cf0f04d0f0b9e7f (patch) | |
tree | 2c888f01d136b63e3789289493960964275de201 /drivers/watchdog/intel-mid_wdt.c | |
parent | fd8f9093a07306036cf63eda35e3357db3387d3a (diff) |
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 'drivers/watchdog/intel-mid_wdt.c')
0 files changed, 0 insertions, 0 deletions