OSDN Git Service

hwmon: (pmbus/max31785) Remove a useless #define
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 21 Jul 2019 10:15:53 +0000 (12:15 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commit59eedefbba121a698969ea005c6d7cd2ccb80376
tree9cc9c80525b077e4bbc42468b885287fb88cc2d4
parent557c7ffa2f283166fa863aaa415757f5f485aa62
hwmon: (pmbus/max31785) Remove a useless #define

There is a typo in MAX37185_NUM_FAN_PAGES. To be consistent, it should be
MAX31785_NUM_FAN_PAGES (1 and 7 switched).

At line 24, we already have:
   #define MAX31785_NR_FAN_PAGES 6
and MAX37185_NUM_FAN_PAGES seems to be unused.

It is likely that it is only a typo and/or a left-over.
So, axe it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20190721101553.20911-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/max31785.c