Re: [PATCHv4 5/7] eeprom: at25: extend driver to plug into the NVMEM framework

From: Srinivas Kandagatla
Date: Wed Feb 17 2016 - 08:45:26 EST




On 17/02/16 13:42, Andrew Lunn wrote:
- if (!(chip.flags & EE_READONLY)) {
- at25->bin.write = at25_bin_write;
- at25->bin.attr.mode |= S_IWUSR;
- }

Above check is totally unused, probably remove it.

Sorry, i don't understand. This check is being removed.

Oops, it think I replied to wrong patch, this comment was intended for "[PATCH 6/7] eeprom: 93xx46: extend driver to plug into the NVMEM framework"


--srini

Thanks
Andrew