]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (asus_atk0110) Make use of device managed memory
authorBastian Germann <bastiangermann@fishpost.de>
Fri, 1 Jun 2018 15:14:19 +0000 (17:14 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 1 Jun 2018 16:38:36 +0000 (09:38 -0700)
commit078966f9cb71897c833063e8ef912ebb89576889
tree239c2f474707df6b22ca026a5dee07bfe41089f3
parent20060c9691f58322fed5d86108afa1c9d78c9e37
hwmon: (asus_atk0110) Make use of device managed memory

Use devm_* variants of kstrdup and kzalloc. Get rid of kfree cleanups.

Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/asus_atk0110.c