mbox series

[0/2] hwmon: pc87360: Some cleanups

Message ID 20220919103155.795151-1-u.kleine-koenig@pengutronix.de (mailing list archive)
Headers show
Series hwmon: pc87360: Some cleanups | expand

Message

Uwe Kleine-König Sept. 19, 2022, 10:31 a.m. UTC
From: Uwe Kleine-König <uwe@kleine-koenig.org>

Hello,

compared to the goal (i.e. getting rid of some forward declarations) the
change is quite big. Also the diffstat is positive because I spent some
more empty lines than the original driver. Still I think its worthwhile
as it prevents errors like
https://lore.kernel.org/linux-i2c/20220916090802.261279-1-u.kleine-koenig@pengutronix.de
.

Note that the 2nd patch isn't checkpatch-clean, but the problems are all
"old", I didn't touch any function bodys, just shuffled them around.

Uwe Kleine-König (2):
  hwmon: pc87360: Introduce a #define for the driver name and use it
  hwmon: pc87360: Reorder symbols to get rid of a few forward
    declarations

 drivers/hwmon/pc87360.c | 1535 ++++++++++++++++++++-------------------
 1 file changed, 776 insertions(+), 759 deletions(-)


base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868