]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: lpc_sch: Don't call mfd_remove_devices()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Nov 2014 17:29:23 +0000 (19:29 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:52 +0000 (16:18 +0000)
commit847bed255405bf8fd69977c4788af033116a42cd
tree6d6f7c4eba4065f08de84b7f3463d80930ab716b
parent801a6af4b243b2decd459f46b9c76a9a6ce9a4d9
mfd: lpc_sch: Don't call mfd_remove_devices()

MFD core already cares about failing registration. It will remove successfully
registered devices in case of error. Thus, no need to repeatedly call
mfd_remove_devices().

Fixes: c642c64d9ca2 (mfd: lpc_sch: Accomodate partial population of the MFD devices)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lpc_sch.c