Re: [RFC PATCH 2/3] eeprom: sunxi: Move the SID driver to the eeprom framework

2015-02-20 Thread Russell King - ARM Linux
On Thu, Feb 19, 2015 at 05:08:40PM +, Srinivas Kandagatla wrote: +static int sunxi_sid_probe(struct platform_device *pdev) +{ + const struct of_device_id *device; + struct eeprom_sid *sid; + struct resource *res; + struct eeprom_device *eeprom; + struct device *dev =

[RFC PATCH 2/3] eeprom: sunxi: Move the SID driver to the eeprom framework

2015-02-19 Thread Srinivas Kandagatla
From: Maxime Ripard maxime.rip...@free-electrons.com Now that we have the EEPROM framework, we can consolidate the common driver code. Move the driver to the framework, and hopefully, it will fix the sysfs file creation race. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com