mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +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 |