From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756321AbcCBA4q (ORCPT ); Tue, 1 Mar 2016 19:56:46 -0500 Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:50363 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755717AbcCBA4n (ORCPT ); Tue, 1 Mar 2016 19:56:43 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=linuxfoundation.org; b=bR8eQI7JpKQ0nYkibS6W5THuyICt+80gA4A9efJPxzo3YXFV35cyxhrUvCuTZs5xvR5pFhti22bV RkETNs0BVBbz9pdzmWQf0ZhvkC/iB9adSXuIAuGpOhMRRaBd11UJrjhoeT9QMnEgKDBKD7mOf8S7 +biEHxMJ+QW8BpznNbA=; From: Greg KH Subject: Re: [PATCHv7 0/7] Convert exiting EEPROM drivers to NVMEM To: Andrew Lunn Cc: , , , , , , , Message-Id: <20160302005640.GA32114@kroah.com> References: <1456516764-1456-1-git-send-email-andrew@lunn.ch> In-Reply-To: <1456516764-1456-1-git-send-email-andrew@lunn.ch> X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30481620.72228339c4dd45c6b6685ef610448c54 X-Mandrill-User: md_30481620 Date: Wed, 02 Mar 2016 00:56:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2016 at 08:59:17PM +0100, Andrew Lunn wrote: > This patch set converts the old EEPROM drivers in driver/misc/eeprom to > use the NVMEM framework. These drivers export there content in /sys as > read only to root, since the EEPROM may contain sensitive information. > So the first patch adds a flag so the NVMEM framework will create its > file in /sys as root read only. > > To keep backwards compatibility with these older drivers, the contents > of the EEPROM must be exports in sysfs in a file called eeprom in the > devices node in sys, where as the NVMEM places them under class/nvmem. > So add this optional backwards compatible to the framework, again > using a flag. > > Then convert the at24, at25 and 93xx46 by adding regmap support, > removing each drivers own /sys code and registering with the NVMEM > framework. > > Lastly, the old memory accessor mechanism has been replaced with the > nvmem equivalent. Nice job, all now queue up. greg k-h