summaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-10 15:21:50 -0800
committerGuenter Roeck <linux@roeck-us.net>2017-02-24 14:00:23 -0800
commit396164b7407b7419a459c1905e9c8a91cb3c307f (patch)
treeeb40432b70e4b22a2007e99bf2f6aa9783ed19de /drivers/memstick
parentc8841a606740867d7283b37dd948ece281add3d6 (diff)
downloadlinux-396164b7407b7419a459c1905e9c8a91cb3c307f.tar.bz2
watchdog: intel-mid_wdt: Convert to use device managed functions
Use device managed functions to simplify error handling, reduce source code size, improve readability, and reduce the likelyhood of bugs. The conversion was done automatically with coccinelle using the following semantic patches. The semantic patches and the scripts used to generate this commit log are available at https://github.com/groeck/coccinelle-patches - Drop assignments to otherwise unused variables - Drop remove function - Drop platform_set_drvdata() - Use devm_watchdog_register_driver() to register watchdog device Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions