From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873Ab1KKK3e (ORCPT ); Fri, 11 Nov 2011 05:29:34 -0500 Received: from eu1sys200aog109.obsmtp.com ([207.126.144.127]:45742 "EHLO eu1sys200aog109.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971Ab1KKK3d (ORCPT ); Fri, 11 Nov 2011 05:29:33 -0500 Message-ID: <4EBCF8FC.5020504@st.com> Date: Fri, 11 Nov 2011 15:59:16 +0530 From: Viresh Kumar User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: Rabin Vincent Cc: Linus WALLEIJ , "linux-kernel@vger.kernel.org" , "sameo@linux.intel.com" , Armando VISCONTI , Shiraz HASHIM , Vipin KUMAR , Rajeev KUMAR , Deepak SIKRI , Vipul Kumar SAMAR , Amit VIRDI , Pratyush ANAND , Bhupesh SHARMA , "viresh.linux@gmail.com" , Bhavna YADAV , Vincenzo FRASCINO , Mirko GARDI , Srinidhi KASAGAR Subject: Re: [PATCH 0/2] mfd/stmpe: Add SPI interface support References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/2011 3:13 PM, Rabin Vincent wrote: > Could you instead convert stmpe to use the register map API, and then > add the SPI interface? Converting to regmap should both simplify the > existing code as well as make it possible to add the second interface > with fewer lines of code. Sorry Rabin, but i couldn't get your comment completely. :( Can you please spend few lines on "what do you mean by register map API"? -- viresh