mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
a6a0f04e7d
Read/write callbacks registered with nvmem core expect 0 to be returned on success and a negative value to be returned on failure. Currently pci1xxxx_otp_read()/pci1xxxx_otp_write() and pci1xxxx_eeprom_read()/pci1xxxx_eeprom_write() return the number of bytes read/written on success. Fix to return 0 on success. Fixes: |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mchp_pci1xxxx_gp.c | ||
mchp_pci1xxxx_gp.h | ||
mchp_pci1xxxx_gpio.c | ||
mchp_pci1xxxx_otpe2p.c |