Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3767593pxk; Tue, 29 Sep 2020 05:55:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOQOYpknEZCqOTPJL8J8ASdSiHkU6MbmokE2HNN3zmOyFjw/QRpXvFAu8za2ZOUPWf3VQm X-Received: by 2002:a17:906:3957:: with SMTP id g23mr3967771eje.24.1601384152359; Tue, 29 Sep 2020 05:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601384152; cv=none; d=google.com; s=arc-20160816; b=NFkU0GSpN7VDvoCMXi6pftRHaBdeclblcCswm43laW5kkmLJT2NGNqQVusDpLgYaLC GbA+bQMXmByu+0Poczpza0wESIHhcxY+j0RR2z17vgrY5Zp6WHghjwhsI7d7+HkJZAJZ zxKDEp9EBC5cQilOgxB7bsTDCiPr+os4f1JJt5HZhOIxHosNDadHNyooPDO00BmaQxAY tLcAVvF8gDP4ilWyWbthRD3lBDHL1WEBtIGjxrGB/3zzBlAikGRI+3Cx5DIPjj0tAbBh KKjxBN7cA9m8iGagdgHwBdMrW/TUb2dElzedDIsEUuPrbPoiiEkKmuxQ3mCsbdIukrvb Lw9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=aHwuPtC/WQ7pDTrQP7WICMQS4xbohiD8X+J/4tqHmVs=; b=XDyyqz/rObKxcL4u90hk3L1CC6BgZ/RHiUoJqkYeIlyC/gzRsjnqHA+DzhIWGisyET L/pyw6MTmHCKnUA7vqpVsZVaVtXTwhNmNLQ841YaL6BYqbuP3VeGm4OHvK9hx8k5eVh7 VkAmt8kcIeIN8Pi72546hidDzkIwvoOpt28qWKXO1PehQCtdqci9Q53eOB4oDLmSRFlb HjyJfGGUfl4g165iL/ec9Qw09KQ5uNqjU7RPDjRXZSP1fLY7h+rk+J4NnnARkcqNPSEX 2yblWiBcar/xoKEch3AKcQ+Jd3IKa0Is/mBrrDjMKrNBmxn7xCTXBDgmzWL6gBOBA4am pKLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SScj7iKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si2954097edr.490.2020.09.29.05.55.28; Tue, 29 Sep 2020 05:55:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SScj7iKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727495AbgI2Mxw (ORCPT + 99 others); Tue, 29 Sep 2020 08:53:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbgI2Mxw (ORCPT ); Tue, 29 Sep 2020 08:53:52 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7BEEC0613D0 for ; Tue, 29 Sep 2020 05:53:51 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id a22so3905338ljp.13 for ; Tue, 29 Sep 2020 05:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aHwuPtC/WQ7pDTrQP7WICMQS4xbohiD8X+J/4tqHmVs=; b=SScj7iKswgMLk8PHt3ULYRQ70PT1uuUxmB7RKSr52jm6TodNbLThsAHdFO3rFHnqQA oT4i2CKd/jQW6g40FOkUwfAu0oZHLO+tPbO/CRTDpc2e0oOQjmYy3ELuKkSiHUlPw0lb GGHdLGpTPC/7XOCdK4Hg8GYRIVrcHiYNvIPGUkE8wV5mgeLKzjNDxNwF/4+xVZYy8lFn PkSbZ0dQLWJj4lTGWPs4225uaqtTu122afSD/LWCJyiMKWPfXWAhkHk1WxcvgWjBSGKi 0/QzLwYQfpmWMH+UvQCTknUheNLebrWUiBtfijLIM6LBJ08UBMAVSszhl22mCBRnTLxG blsw== 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=aHwuPtC/WQ7pDTrQP7WICMQS4xbohiD8X+J/4tqHmVs=; b=RL4uCWcPf0ScHIxWPxH5O9KB2q6I5STGS9kPE+yraTafosO1m2g4DsvW8A+qi4HioH SXMIIjMghUBj0NF6LOgQgjafq+B99RyLC3GiS2TUdsXhZyYfxR5juepMmudNzqKSj+0W W3eSSUc03pH1wyNgCK9YzGCdx2s0LDc2tokY3m2kFoz+V3f95qiyPJ1YlnIG42Q0IXUc GNy/18FEVQVrdQKPtaTWJgTJReI8nfbLJ3cb+2wvsTXdyUXYWGoKTK6g7bpm40KXhyAl yj71TTiQZVt1nfL8jxVT/L6F+B/HuaMUtrazcpYQnjb9yb+xOSiGB37IicXDVDadYMY4 Cc2A== X-Gm-Message-State: AOAM532Y5Zx7KZQLJy4Hy5DtWVGCyXAGoIXds/o0wFUbjaoV5LOhyCgl igK6umZQi+1zFcabqzBnnf3JyysPWsyKx+RsESeiew== X-Received: by 2002:a05:651c:28c:: with SMTP id b12mr1192840ljo.293.1601384030152; Tue, 29 Sep 2020 05:53:50 -0700 (PDT) MIME-Version: 1.0 References: <20200914065402.3726408-1-liushixin2@huawei.com> In-Reply-To: <20200914065402.3726408-1-liushixin2@huawei.com> From: Linus Walleij Date: Tue, 29 Sep 2020 14:53:39 +0200 Message-ID: Subject: Re: [PATCH -next] pinctrl: sprd: use module_platform_driver to simplify the code To: Liu Shixin Cc: Orson Zhai , Baolin Wang , Chunyan Zhang , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 14, 2020 at 8:31 AM Liu Shixin wrote: > module_platform_driver() makes the code simpler by eliminating > boilerplate code. > > Signed-off-by: Liu Shixin Patch applied! Yours, Linus Walleij