aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2021-06-24 11:05:34 +0300
committerJonathan Cameron <[email protected]>2021-07-19 09:51:59 +0100
commit9ae8da91a22cdd916f20cc4ba59911d084c7e26e (patch)
tree8bac62fcf5e74e35463ef584f76a88d7a86a1c64 /include/linux/debugobjects.h
parentd272e0ab5f4bcaf0a29e7606854cfb5a9b725758 (diff)
iio: light: tcs3414: convert probe to device-managed routines
This change converts the driver to use only device-managed init routines in the probe function of the driver. This way, we no longer need the tcs3414_remove() hook. We still need to keep the i2c_set_clientdata() call, as that's being used for the PM routines. And lastly, a devm_add_action_or_reset() hook is added to call the powerdown handler when the chip is uninitialized or the probe fails. Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions