kernel-aes67/drivers/misc/mchp_pci1xxxx
Dan Carpenter 5a652fe5e3 misc: microchip: pci1xxxx: Fix some NULL vs IS_ERR() bugs
The devm_nvmem_register() function returns error pointers.  It never
returns NULL.  Update the checks accordingly.

Fixes: 0969001569 ("misc: microchip: pci1xxxx: Add support to read and write into PCI1XXXX OTP via NVMEM sysfs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/043df330-222b-4c2c-ae19-ed2f731bfe0b@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-12 12:58:56 +02:00
..
Kconfig misc: microchip: pci1xxxx: Add support to read and write into PCI1XXXX OTP via NVMEM sysfs 2023-08-04 15:36:43 +02:00
Makefile misc: microchip: pci1xxxx: Add support to read and write into PCI1XXXX OTP via NVMEM sysfs 2023-08-04 15:36:43 +02:00
mchp_pci1xxxx_gp.c
mchp_pci1xxxx_gp.h
mchp_pci1xxxx_gpio.c
mchp_pci1xxxx_otpe2p.c misc: microchip: pci1xxxx: Fix some NULL vs IS_ERR() bugs 2023-08-12 12:58:56 +02:00