]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: Make platform teardown callback return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 15 Aug 2022 08:02:29 +0000 (10:02 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 16 Aug 2022 10:34:13 +0000 (12:34 +0200)
commit53fe1d5d34e0401c54860010c3e7de2af2ba0f00
treeeea078421e0728ab3900285e0de326b0e3d4d246
parenta541fc1f9722164ac3523fdcac401b76216fe089
gpio: pca953x: Make platform teardown callback return void

All platforms that provide a teardown callback return 0. New users are
supposed to not make use of platform support, so there is no
functionality lost.

This patch is a preparation for making i2c remove callbacks return void.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
arch/arm/mach-davinci/board-da850-evm.c
drivers/gpio/gpio-pca953x.c
include/linux/platform_data/pca953x.h