Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: pc87360: Some cleanups
@ 2022-09-19 10:31 Uwe Kleine-König
  2022-09-19 10:31 ` [PATCH 1/2] hwmon: pc87360: Introduce a #define for the driver name and use it Uwe Kleine-König
  2022-09-19 10:31 ` [PATCH 2/2] hwmon: pc87360: Reorder symbols to get rid of a few forward declarations Uwe Kleine-König
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2022-09-19 10:31 UTC (permalink / raw)
  To: Jim Cromie, Jean Delvare, Guenter Roeck
  Cc: linux-hwmon, kernel, Uwe Kleine-König

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
-- 
2.37.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-20 14:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-19 10:31 [PATCH 0/2] hwmon: pc87360: Some cleanups Uwe Kleine-König
2022-09-19 10:31 ` [PATCH 1/2] hwmon: pc87360: Introduce a #define for the driver name and use it Uwe Kleine-König
2022-09-20 14:27   ` Guenter Roeck
2022-09-19 10:31 ` [PATCH 2/2] hwmon: pc87360: Reorder symbols to get rid of a few forward declarations Uwe Kleine-König
2022-09-20 14:25   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox