-
- Downloads
mfd / platform: cros_ec: Use devm_mfd_add_devices
Use devm_mfd_add_devices() for adding cros-ec core MFD child devices. This reduces the need of remove callback from platform/chrome for removing the MFD child devices. Signed-off-by:Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by:
Guenter Roeck <groeck@chromium.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
Showing
- drivers/mfd/cros_ec.c 3 additions, 11 deletionsdrivers/mfd/cros_ec.c
- drivers/platform/chrome/cros_ec_i2c.c 0 additions, 10 deletionsdrivers/platform/chrome/cros_ec_i2c.c
- drivers/platform/chrome/cros_ec_lpc.c 0 additions, 4 deletionsdrivers/platform/chrome/cros_ec_lpc.c
- drivers/platform/chrome/cros_ec_spi.c 0 additions, 11 deletionsdrivers/platform/chrome/cros_ec_spi.c
- include/linux/mfd/cros_ec.h 0 additions, 10 deletionsinclude/linux/mfd/cros_ec.h
Please register or sign in to comment