Skip to contentSkip to conversation

hwmon/sch5627: Factor our some code to

PATCH Jean Delvare 2 participants 3 messages May 28, 2011

lore
Share & tools
lore
#0 lore raw
Quoted 16 lines · Hans de Goede

This patch adds a new sch56xx-common.ko which contains code which will also be used in the new sch5636 driver.

---
 drivers/hwmon/Kconfig          |    5 +
 drivers/hwmon/Makefile         |    1 +
 drivers/hwmon/sch5627.c        |  334 +++------------------------------------
 drivers/hwmon/sch56xx-common.c |  336 ++++++++++++++++++++++++++++++++++++++++
 drivers/hwmon/sch56xx-common.h |   24 +++
 5 files changed, 390 insertions(+), 310 deletions(-)
 create mode 100644 drivers/hwmon/sch56xx-common.c
 create mode 100644 drivers/hwmon/sch56xx-common.h

(...)

drivers/hwmon/sch56xx-common.c

Quoted 2 lines
drivers/hwmon/sch56xx-common.c new file +1 -0
(...)
+#define SIO_SCH56XX_LD_EM	0x0C	/* Embedded ųController Logical Dev */

A regular "u" will do... I don't know you used but that wasn't even a Greek mu.

All the rest looks pretty good.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Hi,

Quoted 14 lines · Jean Delvare
Quoted 13 lines · Hans de Goede

This patch adds a new sch56xx-common.ko which contains code which will also be used in the new sch5636 driver.

---
  drivers/hwmon/Kconfig          |    5 +
  drivers/hwmon/Makefile         |    1 +
  drivers/hwmon/sch5627.c        |  334 +++------------------------------------
  drivers/hwmon/sch56xx-common.c |  336 ++++++++++++++++++++++++++++++++++++++++
  drivers/hwmon/sch56xx-common.h |   24 +++
  5 files changed, 390 insertions(+), 310 deletions(-)

create mode 100644 drivers/hwmon/sch56xx-common.c create mode 100644 drivers/hwmon/sch56xx-common.h

Quoted 8 lines

drivers/hwmon/sch56xx-common.c

Quoted 5 lines

(...)

drivers/hwmon/sch56xx-common.c new file +1 -0
(...)
+#define SIO_SCH56XX_LD_EM	0x0C	/* Embedded ųController Logical Dev */

A regular "u" will do... I don't know you used but that wasn't even a Greek mu.

Oh, oops wrong compose sequence. I know the right one now, giving:
µController, or I can just use a regular u if you prefer :)

So do you want me to resend, with this fixed, or will you fix this in your tree?

Regards,

Hans

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Jean Delvare
Quoted 26 lines · Hans de Goede

Hi,

Quoted 14 lines · Jean Delvare
Quoted 13 lines · Hans de Goede

This patch adds a new sch56xx-common.ko which contains code which will also be used in the new sch5636 driver.

---
  drivers/hwmon/Kconfig          |    5 +
  drivers/hwmon/Makefile         |    1 +
  drivers/hwmon/sch5627.c        |  334 +++------------------------------------
  drivers/hwmon/sch56xx-common.c |  336 ++++++++++++++++++++++++++++++++++++++++
  drivers/hwmon/sch56xx-common.h |   24 +++
  5 files changed, 390 insertions(+), 310 deletions(-)

create mode 100644 drivers/hwmon/sch56xx-common.c create mode 100644 drivers/hwmon/sch56xx-common.h

Quoted 8 lines

drivers/hwmon/sch56xx-common.c

Quoted 5 lines

(...)

drivers/hwmon/sch56xx-common.c new file +1 -0
(...)
+#define SIO_SCH56XX_LD_EM	0x0C	/* Embedded ųController Logical Dev */

A regular "u" will do... I don't know you used but that wasn't even a Greek mu.

Quoted 5 lines

Oh, oops wrong compose sequence. I know the right one now, giving:
µController, or I can just use a regular u if you prefer :)

So do you want me to resend, with this fixed, or will you fix this in your tree?

I'll fix it, no worry.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors