[PATCH 00/24] hwmon: Convert to platform remove callback returning void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

the first patch allows to compile test two drivers on !X86. The
remainder of the series converts all platform drivers below
drivers/hwmon to use remove_new. The motivation is to get rid of an
integer return code that is (mostly) ignored by the platform driver core
and error prone on the driver side.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.

There are no interdependencies between the patches. As there are still
quite a few drivers to convert, I'm happy about every patch that makes
it in. So even if there is a merge conflict with one patch until you
apply (or in case you don't like the COMPILE_TEST one), please apply the
remainder of this series anyhow.

Best regards
Uwe

Uwe Kleine-König (24):
  hwmon: (abitguru{,3}) Enable build testing on !X86
  hwmon: (abituguru) Convert to platform remove callback returning void
  hwmon: (abituguru3) Convert to platform remove callback returning void
  hwmon: (da9052-hwmon) Convert to platform remove callback returning
    void
  hwmon: (dme1737) Convert to platform remove callback returning void
  hwmon: (f71805f) Convert to platform remove callback returning void
  hwmon: (f71882fg) Convert to platform remove callback returning void
  hwmon: (i5k_amb) Convert to platform remove callback returning void
  hwmon: (max197) Convert to platform remove callback returning void
  hwmon: (mc13783-adc) Convert to platform remove callback returning
    void
  hwmon: (occ/p9_sbe) Convert to platform remove callback returning void
  hwmon: (pc87360) Convert to platform remove callback returning void
  hwmon: (pc87427) Convert to platform remove callback returning void
  hwmon: (sch5636) Convert to platform remove callback returning void
  hwmon: (sht15) Convert to platform remove callback returning void
  hwmon: (sis5595) Convert to platform remove callback returning void
  hwmon: (ultra45_env) Convert to platform remove callback returning
    void
  hwmon: (via-cputemp) Convert to platform remove callback returning
    void
  hwmon: (via686a) Convert to platform remove callback returning void
  hwmon: (vt1211) Convert to platform remove callback returning void
  hwmon: (vt8231) Convert to platform remove callback returning void
  hwmon: (w83627hf) Convert to platform remove callback returning void
  hwmon: (w83781d) Convert to platform remove callback returning void
  hwmon: (xgene-hwmon) Convert to platform remove callback returning
    void

 drivers/hwmon/Kconfig        | 4 ++--
 drivers/hwmon/abituguru.c    | 6 ++----
 drivers/hwmon/abituguru3.c   | 5 ++---
 drivers/hwmon/da9052-hwmon.c | 6 ++----
 drivers/hwmon/dme1737.c      | 6 ++----
 drivers/hwmon/f71805f.c      | 6 ++----
 drivers/hwmon/f71882fg.c     | 5 ++---
 drivers/hwmon/i5k_amb.c      | 5 ++---
 drivers/hwmon/max197.c       | 6 ++----
 drivers/hwmon/mc13783-adc.c  | 6 ++----
 drivers/hwmon/occ/p9_sbe.c   | 6 ++----
 drivers/hwmon/pc87360.c      | 6 ++----
 drivers/hwmon/pc87427.c      | 6 ++----
 drivers/hwmon/sch5636.c      | 6 ++----
 drivers/hwmon/sht15.c        | 6 ++----
 drivers/hwmon/sis5595.c      | 6 ++----
 drivers/hwmon/ultra45_env.c  | 6 ++----
 drivers/hwmon/via-cputemp.c  | 5 ++---
 drivers/hwmon/via686a.c      | 6 ++----
 drivers/hwmon/vt1211.c       | 6 ++----
 drivers/hwmon/vt8231.c       | 6 ++----
 drivers/hwmon/w83627hf.c     | 6 ++----
 drivers/hwmon/w83781d.c      | 7 ++-----
 drivers/hwmon/xgene-hwmon.c  | 6 ++----
 24 files changed, 48 insertions(+), 91 deletions(-)

base-commit: 7fc7222d9680366edeecc219c21ca96310bdbc10
-- 
2.40.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux