Several windfarm drivers return -ENODEV when kzalloc_obj() fails in
probe. Return -ENOMEM to correctly report the allocation failures.

Thorsten Blum (3):
  macintosh/windfarm: Return -ENOMEM on AD7417 allocation failure
  macintosh/windfarm: Return -ENOMEM on LM87 allocation failure
  macintosh/windfarm: Return -ENOMEM on LM75 allocation failure

 drivers/macintosh/windfarm_ad7417_sensor.c | 2 +-
 drivers/macintosh/windfarm_lm75_sensor.c   | 2 +-
 drivers/macintosh/windfarm_lm87_sensor.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Reply via email to