Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1021118imm; Wed, 19 Sep 2018 10:37:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdakoEK8t500owbWQQ52mXQFKDGMg0tatnSHdcoPR2J7Mt8whJTnS80aTbhAb76CRT4hyTY7 X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr33872831pgt.164.1537378631485; Wed, 19 Sep 2018 10:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537378631; cv=none; d=google.com; s=arc-20160816; b=IAo7RkrjPN1dXyw8z0kd8A4nCyEmN0bG/8e3uS09xZ9wPu75SXPGUtlh1KtZ13xNBj ReJ5+zy2q/byh8v3sohlwjp5K3SZu6JUJgf2iLy+2VeAVV5Ipp6Nhh97iVyCYdymxDjt asYPpqS5B0ujuTCt/G8ui7VT6zr1LleLGgXlFafZe2/Qi72hF55PeERTX/FcSlUeyG3e pW/0m0w2bpHxkv1PtJZfdomKjV9wDwnPDkGWeC1LJflhNoLPkBfWhnIPjy0QaBsgPE/n HpQ/AwCzdMf9Ii4t4epHS5UxyUTD3m+++4G7utIcSUyWd5aS38AERU7PbuJD/qXAq6Ak ybxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jTAfN7iBnuqfTM/Wb91dnjpM4yrsmApQMl3NFYkxKuI=; b=GXoIr2oGtzmUzxNfke8+LGrn8gkrb0JG47BNd3CoMzwXrO5piZp2K7SMh2s+gYbFF/ EFfjGT3Z7kj1HraejpxQH73KtWuOnCJVl6HQllA0deH8dEqKIYnJyfPnBDC01VmHGLGU Uzr+9wH6V4WAloJvp5mEPcNQ9ef/kUeJI8ImmnqfjjOoxqv9/lLbH3ZqBtc81QzF4BsX ICa6JIAhuAaCkhoZrkXh03BOWhB2yIauI+8SY6H3td+kOWIixTb9GIQHqzkgUPr+iOnr NIvcydX4gVc/2hOcDWZgeGHELX83Mfi5pgntmMcFUhbNcgNjlUXFF7W/3rTUqiIoq1Qy KWjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ABfCtMKV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7-v6si1529253pgz.366.2018.09.19.10.36.55; Wed, 19 Sep 2018 10:37:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ABfCtMKV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733000AbeISXO6 (ORCPT + 99 others); Wed, 19 Sep 2018 19:14:58 -0400 Received: from mail-yw1-f65.google.com ([209.85.161.65]:33312 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731514AbeISXO6 (ORCPT ); Wed, 19 Sep 2018 19:14:58 -0400 Received: by mail-yw1-f65.google.com with SMTP id x67-v6so2616804ywg.0 for ; Wed, 19 Sep 2018 10:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jTAfN7iBnuqfTM/Wb91dnjpM4yrsmApQMl3NFYkxKuI=; b=ABfCtMKVVkF17eUvKJCGhnM2kHPHdavbMPWwKR0TwW+IkFTwYG4sTyoMDoSRuDbARU E4hyEV7JIVU63pcg8fwzN6SDFwsdPbD7AnvANbaQedxuWg7cWGd8ZuVEewDTDYjvtdmt uoOrmQt1+zvv7DSAuBP35XuSd1LiE2gQr789ESydmijdmad9VeOWMb2up9CuAC5JA3FN p1d+foedwBki8lwUIUuIlY9j7zaAz3+easWmn0imBrUu4LwgjhdRcX5IVuHOvPzaiXWW m6l/QJ+lliZuCA7NNfqv2WX8KTV2CvF6H7EfoIXigMorg8amO6zfqOUjkE2/3d7Kc4gi zfbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jTAfN7iBnuqfTM/Wb91dnjpM4yrsmApQMl3NFYkxKuI=; b=i6RFT8ZGnbP/tB2mnIKzt9oz4NHXcNHJ+iRMSb+Eq7nxBwztqLhXlTkt5q48FaE3Ih diMihl1lZ8aOTd4BYEYuiI22g53Imdf4YJO0USFC61bcbk+ui7URtNSR8wwYwn55uWnH uT+gY6ppUgtCBJiNK27Fa63W3qGJEW696YESVScX51+7wXSIR9nJJiKqV17i95fsxMZw CKoXtymappkPaS+9Egqd6ec59yf8GeAMV1BzeMWs8cldj7WTsNZOtcYXo+62mx5RYpcA VGbFd/xVu83pSAnHLHnu6i6TvI1RSrPtjb7fB7nLrgspQ1M6ic0BaBvqHODapngpe56w oWXA== X-Gm-Message-State: APzg51Aw/+g1vEFw6CvVA+zmQUvjdwLFTJMxSDmZe93fqTBMJ18vwBTn csMrz7YfU6xyyB3zo6ECbXOcdNPxjby7PQafdS3CUg== X-Received: by 2002:a81:78d5:: with SMTP id t204-v6mr15802154ywc.340.1537378560171; Wed, 19 Sep 2018 10:36:00 -0700 (PDT) MIME-Version: 1.0 References: <20180918153621.71984-1-mika.westerberg@linux.intel.com> <20180919084002.GR14465@lahna.fi.intel.com> In-Reply-To: <20180919084002.GR14465@lahna.fi.intel.com> From: Rajat Jain Date: Wed, 19 Sep 2018 10:35:22 -0700 Message-ID: Subject: Re: [PATCH] pinctrl: intel: Do pin translation in other GPIO operations as well To: Mika Westerberg Cc: Andy Shevchenko , Linus Walleij , casey.g.bowman@intel.com, "Atwood, Matthew S" , linux-gpio@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 19, 2018 at 1:40 AM Mika Westerberg wrote: > > On Tue, Sep 18, 2018 at 03:14:44PM -0700, Rajat Jain wrote: > > Also consider fixing the checkpatch warning: > > > > Errors: > > * checkpatch.pl errors/warnings > > > > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' > > #48: FILE: drivers/pinctrl/intel/pinctrl-intel.c:764: > > +static int intel_gpio_to_pin(struct intel_pinctrl *pctrl, > > unsigned offset, > > Right, it is currently the "convention" used in Intel pinctrl drivers so > I did not want to change that single entry. > > We should eventually convert the whole set of Intel pinctrl drivers to > use unsigned int instead of unsigned. OK, Thanks for the clarification.