mfd: lm3533: Switch to using the new API kobj_to_dev()
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 23 Feb 2021 09:42:24 +0000 (17:42 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:03:35 +0000 (16:03 +0100)
commit23144a323118380a97e39b3b3f09ae3099c5aeb4
tree324efc891cef402cfb1e0d8fbb79e7854f4f42cc
parent3a65a3e72cd9797b845567ccd7bf4b00a530db54
mfd: lm3533: Switch to using the new API kobj_to_dev()

Fixes the following coccicheck warning:

  drivers/mfd/lm3533-core.c:361:60-61: WARNING opportunity for kobj_to_dev()

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lm3533-core.c