summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stm32-lptimer.c
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-09-02 11:53:09 +0200
committerLee Jones <lee.jones@linaro.org>2019-09-02 11:34:24 +0100
commit28e6fcc871bcff640c8960448034ea3a7c7fdfa3 (patch)
treeb6e2fb991585cf186dea103886011a1268ee62bb /drivers/mfd/stm32-lptimer.c
parent832a636f6afe16aa95cb7281c4eb2194b402515d (diff)
downloadlinux-28e6fcc871bcff640c8960448034ea3a7c7fdfa3.tar.bz2
mfd: cros_ec: Use mfd_add_hotplug_devices() helper
Use mfd_add_hotplug_devices() helper to register the subdevices. The helper allows us to reduce the boiler plate and also registers the subdevices in the same way as used in other functions used in this files. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Tested-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/stm32-lptimer.c')
0 files changed, 0 insertions, 0 deletions