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)
commitc9bdf291542e14dbc5b9a71aa11f995de0e54f0d
tree239c2f474707df6b22ca026a5dee07bfe41089f3
parent3c60726d217b3e03cef2d9f785727a53fff49450
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