[PATCH 5.6 22/29] nvmem: check for NULL reg_read and reg_write before dereferencing