Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933403AbbFWUoy (ORCPT ); Tue, 23 Jun 2015 16:44:54 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:50167 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933264AbbFWUoo (ORCPT ); Tue, 23 Jun 2015 16:44:44 -0400 Date: Tue, 23 Jun 2015 22:44:32 +0200 (CEST) From: Stefan Wahren Reply-To: Stefan Wahren To: Srinivas Kandagatla , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org Cc: wxt@rock-chips.com, linux-api@vger.kernel.org, Kumar Gala , Rob Herring , sboyd@codeaurora.org, arnd@arndb.de, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, mporter@konsulko.com, Maxime Ripard , pantelis.antoniou@konsulko.com, devicetree@vger.kernel.org, Mark Brown Message-ID: <1335062615.252618.1435092272970.JavaMail.open-xchange@oxbsltgw00.schlund.de> In-Reply-To: <1435014583-26478-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1435014459-26138-1-git-send-email-srinivas.kandagatla@linaro.org> <1435014583-26478-1-git-send-email-srinivas.kandagatla@linaro.org> Subject: Re: [PATCH v6 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.6.2-Rev18 X-Originating-Client: com.openexchange.ox.gui.dhtml X-Provags-ID: V03:K0:c9jGiGpOzHnxgro280fzbt6qNTEJUJ+0ChYz9l2dKjJXDUkzg/S INVqFR5fwgA1kbze4FVqCkasCpf9BDthX32lBjTg8bPouqo13iVKj8aHSHzKP1zxquq+/fp UE2/3KdxwZytDWBvqlF70cNDSh5QZJGfCoLdtLSwCAQPI00MaOnIyDHP7NS3BMqDI8X/Rsy NUzH1sScSFrKazf5SxRYA== X-UI-Out-Filterresults: notjunk:1;V01:K0:cLmyqXaH8+k=:ZSU7QDgTJQf8IChiSJjATD qqmfOOpDnE1L2LYXvucB0NEWONlAz20RWKncLlg1bTi9hqkniuc8mRpdINRtrA0rRj/M60oN0 dzCD5kx72V0EwY4k9bxzQQ4dnRQQIakoxf2k344gcx0nWLgZWGfvl21Bc5obp9BoenOhW4CEo g7bfc8XqxNm7fRE+rsgF2LvM1RuvHsYF7jihQZMuwqUJD+8RvOOQOHTXVsn0FI2MwYWm0Lczi 6/7iCciDZlegZGeF82racLPB+T1bSqNuq+5dNibdrTEMJmrwoa3+uuwteLHhjJkBEX2kBSPR7 sX/OCnkHuK7oDK52l2RNhoTrdZKrUNim1DeyOdz1FavtJfySSTbL/Gk+jLAqgFPDJiiHN+LcC cq/xwJeXz5s2+RNdGT6fImuO8E5MD8BLU01iVj76k5QwH4bJqltPJ1rAzwLtq0jJebY2Sdo/K V+4Tt9YKSeU9oL1iHuziZxSvD06hP1gPp6lKGy9GpJV7MVMXT+UgpTrP1p822ZkJtEn8+aXnZ igdTWK+cDRsz0UdpZWUITWEnVbk7OXsoBf+U5sbQo1l5YzaGEA4ZqpWan6X9rf43hwYMvq87t 4Z6g4qkZoYrbzK+G9AysSjmWSV0K0mqJ6asCxNLFqZzMepEFRWkSe0sJyZXi5lwnyQL5hN9k8 VkrtmxVtzLpXhlMRmXx5vD8d5h++BqKwuoi15TZldIeCKUg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 29 > Srinivas Kandagatla hat am 23. Juni 2015 um > 01:09 geschrieben: > > > From: Maxime Ripard > > 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/