[PATCH 0/7] extcon: Convert to platform remove callback returning void

Uwe Kleine-König posted 7 patches 1 year, 11 months ago
drivers/extcon/extcon-adc-jack.c     | 6 ++----
drivers/extcon/extcon-intel-cht-wc.c | 6 ++----
drivers/extcon/extcon-intel-mrfld.c  | 6 ++----
drivers/extcon/extcon-max3355.c      | 6 ++----
drivers/extcon/extcon-max77843.c     | 6 ++----
drivers/extcon/extcon-usb-gpio.c     | 6 ++----
drivers/extcon/extcon-usbc-cros-ec.c | 6 ++----
7 files changed, 14 insertions(+), 28 deletions(-)
[PATCH 0/7] extcon: Convert to platform remove callback returning void
Posted by Uwe Kleine-König 1 year, 11 months ago
Hello,

this series converts all drivers below drivers/extcon to struct
platform_driver::remove_new(). See commit 5c5a7680e67b ("platform:
Provide a remove callback that returns no value") for an extended
explanation and the eventual goal.

All conversations are trivial, because their .remove() callbacks
returned zero unconditionally.

There are no interdependencies between these patches, so they could be
picked up individually. But I'd hope that they get picked up all
together by the extcon maintainer team.

Best regards
Uwe

Uwe Kleine-König (7):
  extcon: adc-jack: Convert to platform remove callback returning void
  extcon: intel-cht-wc: Convert to platform remove callback returning void
  extcon: intel-mrfld: Convert to platform remove callback returning void
  extcon: max3355: Convert to platform remove callback returning void
  extcon: max77843: Convert to platform remove callback returning void
  extcon: usb-gpio: Convert to platform remove callback returning void
  extcon: usbc-cros-ec: Convert to platform remove callback returning void

 drivers/extcon/extcon-adc-jack.c     | 6 ++----
 drivers/extcon/extcon-intel-cht-wc.c | 6 ++----
 drivers/extcon/extcon-intel-mrfld.c  | 6 ++----
 drivers/extcon/extcon-max3355.c      | 6 ++----
 drivers/extcon/extcon-max77843.c     | 6 ++----
 drivers/extcon/extcon-usb-gpio.c     | 6 ++----
 drivers/extcon/extcon-usbc-cros-ec.c | 6 ++----
 7 files changed, 14 insertions(+), 28 deletions(-)

base-commit: 33e1d31873f87d119e5120b88cd350efa68ef276
-- 
2.43.0

RE: [PATCH 0/7] extcon: Convert to platform remove callback returning void
Posted by Chanwoo Choi 1 year, 11 months ago

> -----Original Message-----
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Sent: Monday, February 26, 2024 12:55 AM
> To: MyungJoo Ham <myungjoo.ham@samsung.com>; Chanwoo Choi
> <cw00.choi@samsung.com>
> Cc: linux-kernel@vger.kernel.org; Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org>; Benson Leung <bleung@chromium.org>; Guenter
> Roeck <groeck@chromium.org>; chrome-platform@lists.linux.dev
> Subject: [PATCH 0/7] extcon: Convert to platform remove callback returning
> void
> 
> Hello,
> 
> this series converts all drivers below drivers/extcon to struct
> platform_driver::remove_new(). See commit 5c5a7680e67b ("platform:
> Provide a remove callback that returns no value") for an extended explanation
> and the eventual goal.
> 
> All conversations are trivial, because their .remove() callbacks returned
> zero unconditionally.
> 
> There are no interdependencies between these patches, so they could be picked
> up individually. But I'd hope that they get picked up all together by the
> extcon maintainer team.
> 
> Best regards
> Uwe
> 
> Uwe Kleine-König (7):
>   extcon: adc-jack: Convert to platform remove callback returning void
>   extcon: intel-cht-wc: Convert to platform remove callback returning void
>   extcon: intel-mrfld: Convert to platform remove callback returning void
>   extcon: max3355: Convert to platform remove callback returning void
>   extcon: max77843: Convert to platform remove callback returning void
>   extcon: usb-gpio: Convert to platform remove callback returning void
>   extcon: usbc-cros-ec: Convert to platform remove callback returning void
> 
>  drivers/extcon/extcon-adc-jack.c     | 6 ++----
>  drivers/extcon/extcon-intel-cht-wc.c | 6 ++----  drivers/extcon/extcon-
> intel-mrfld.c  | 6 ++----
>  drivers/extcon/extcon-max3355.c      | 6 ++----
>  drivers/extcon/extcon-max77843.c     | 6 ++----
>  drivers/extcon/extcon-usb-gpio.c     | 6 ++----
>  drivers/extcon/extcon-usbc-cros-ec.c | 6 ++----
>  7 files changed, 14 insertions(+), 28 deletions(-)
> 

Applied them. Thanks.

Best Regards,
Chanwoo Choi