Skip to content

Commit abe96a6

Browse files
eddiejamesEddie James
authored andcommitted
hwmon: (pmbus/ibm-cffps) Remove page two VIN and PIN function bits (torvalds#216)
These extra functions make it so that the input attribute numbering isn't common between cffps1 and cffps2. Remove them to preserve a common interface. Signed-off-by: Eddie James <[email protected]> Co-authored-by: Eddie James <[email protected]>
1 parent b01fc0d commit abe96a6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

drivers/hwmon/pmbus/ibm-cffps.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,9 @@ static struct pmbus_driver_info ibm_cffps_info[] = {
457457
PMBUS_HAVE_STATUS_VOUT | PMBUS_HAVE_STATUS_IOUT |
458458
PMBUS_HAVE_STATUS_INPUT | PMBUS_HAVE_STATUS_TEMP |
459459
PMBUS_HAVE_STATUS_FAN12 | PMBUS_HAVE_VMON,
460-
.func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
461-
PMBUS_HAVE_PIN | PMBUS_HAVE_TEMP | PMBUS_HAVE_TEMP2 |
462-
PMBUS_HAVE_TEMP3 | PMBUS_HAVE_STATUS_VOUT |
463-
PMBUS_HAVE_STATUS_IOUT | PMBUS_HAVE_STATUS_INPUT |
464-
PMBUS_HAVE_STATUS_TEMP,
460+
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
461+
PMBUS_HAVE_TEMP | PMBUS_HAVE_TEMP2 | PMBUS_HAVE_TEMP3 |
462+
PMBUS_HAVE_STATUS_VOUT | PMBUS_HAVE_STATUS_IOUT,
465463
.read_byte_data = ibm_cffps_read_byte_data,
466464
.read_word_data = ibm_cffps_read_word_data,
467465
},

0 commit comments

Comments
 (0)