forked from Minki/linux
d284feaf98
devm_add_action_or_reset() is introduced as a helper function which internally calls devm_add_action(). If devm_add_action() fails then it will execute the action mentioned and return the error code. This reduce source code size (avoid writing the action twice) and reduce the likelyhood of bugs. Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
inv_mpu_acpi.c | ||
inv_mpu_core.c | ||
inv_mpu_i2c.c | ||
inv_mpu_iio.h | ||
inv_mpu_ring.c | ||
inv_mpu_spi.c | ||
inv_mpu_trigger.c | ||
Kconfig | ||
Makefile |