hwmon: (s3c) Use dev_get_drvdata()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 23 Apr 2019 07:50:02 +0000 (15:50 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 23 Apr 2019 13:43:32 +0000 (06:43 -0700)
commita60170000338c59b4de43e7c6e38413b8a748f0d
tree89ede1b05b5a644d2a257a08b83db63b0b7b187f
parent212244f76d13bdbb57fa8096a8aa94c5b55c4be5
hwmon: (s3c) Use dev_get_drvdata()

Using dev_get_drvdata directly.

Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/s3c-hwmon.c