Re: [PATCH v6 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework

From: Srinivas Kandagatla
Date: Wed Jun 24 2015 - 05:49:08 EST




On 23/06/15 21:44, Stefan Wahren wrote:

Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx> hat am 23. Juni 2015 um
01:09 geschrieben:


From: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Now that we have the nvmem framework, we can consolidate the common
driver code. Move the driver to the framework, and hopefully, it will
fix the sysfs file creation race.
--- /dev/null
+++ b/drivers/nvmem/sunxi-sid.c
[...]
+
+static int sunxi_sid_write(void *context, const void *data, size_t count)
+{
+ /* Unimplemented */
+ return 0;
+}
+

I think it should be clear that the write operation isn't implemented. It's more
important to know the function should make
regmap_init happy.


I totally agree with you.. It was just to make regmap_init happy. Indeed I thought of adding this comment, but forgot over the time :-) I will fix it.

--srini


--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/