From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753202AbeDPSSr (ORCPT ); Mon, 16 Apr 2018 14:18:47 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:46532 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752786AbeDPSSq (ORCPT ); Mon, 16 Apr 2018 14:18:46 -0400 X-Google-Smtp-Source: AIpwx4+npr9t0OBWV1LXfTY4jN4mtHYgMX5nKHQZ9LJagKc6/VGLdssNAJDpxY3bK2eYwfbqwaB/3Q== Date: Mon, 16 Apr 2018 20:18:42 +0200 From: Krzysztof Kozlowski To: Bartosz Golaszewski Cc: Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: s3c24xx: mini2440: use device properties for at24 eeprom Message-ID: <20180416181842.efu2uaorbcgzq7pi@kozik-lap> References: <20180404115147.16448-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180404115147.16448-1-brgl@bgdev.pl> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 04, 2018 at 01:51:47PM +0200, Bartosz Golaszewski wrote: > We want to work towards phasing out the at24_platform_data structure. > There are few users and its contents can be represented using generic > device properties. Using device properties only will allow us to > significantly simplify the at24 configuration code. > > Remove the at24_platform_data structure and replace it with an array > of property entries. Drop the byte_len/size property, as the model name > already implies the EEPROM's size. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/mach-s3c24xx/mach-mini2440.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > Thanks, applied. Best regards, Krzysztof