diff options
author | Uwe Kleine-König | 2022-06-19 10:26:55 +0200 |
---|---|---|
committer | Lee Jones | 2022-07-19 10:54:40 +0100 |
commit | c55333064d6ea9a26c7e8cfbe2ba1fa77c3a8e48 (patch) | |
tree | 4e1b13e61346b5ac4c0533f48f45f388dd210ceb /include/linux/mfd | |
parent | 99a7ec2f362261be1ccca702da099f39127a3388 (diff) |
mfd: tc6393xb: Make disable callback return void
All implementations return 0, so simplify accordingly.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220619082655.53728-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tc6393xb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/tc6393xb.h b/include/linux/mfd/tc6393xb.h index d336c541b7df..d17807f2d0c9 100644 --- a/include/linux/mfd/tc6393xb.h +++ b/include/linux/mfd/tc6393xb.h @@ -22,7 +22,7 @@ struct tc6393xb_platform_data { u16 scr_gper; /* GP Enable */ int (*enable)(struct platform_device *dev); - int (*disable)(struct platform_device *dev); + void (*disable)(struct platform_device *dev); int (*suspend)(struct platform_device *dev); int (*resume)(struct platform_device *dev); |