Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3463660rwl; Mon, 27 Mar 2023 14:38:36 -0700 (PDT) X-Google-Smtp-Source: AKy350bE9Zoq6hcdI3iTx+YE6/dMuLLxMB591pQU59CSf5MR13JT0hGVzc+VuhKItTlhLjbFtwPi X-Received: by 2002:a17:907:1c1e:b0:931:7c20:f75a with SMTP id nc30-20020a1709071c1e00b009317c20f75amr17118519ejc.53.1679953116579; Mon, 27 Mar 2023 14:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679953116; cv=none; d=google.com; s=arc-20160816; b=foW3skKkgqwKJWsBq7P7e8rX1cpB7HwRGJDXsHEFG3b8ERZLelxLPIzFXqaaHBXffn 0e14c9TUirK0MCl8QPZDPeBfkBPO2wY5HVOcYtReUpLGPwRN140QJA5cPytMH/LE0QVp H/ejPnl9tejs+uTYQKv7BODrI7NFxdtZnN9iPz1YYUvTWQLNRVMr9qC2EKoxcXd72dP2 TQVkMASaZp//kXkbeecqMdfclLrCkiNlBFMrHOEv4SLLeUR/sFop/2C/UgD6oOyACXpc WawxZsudGzv9PJGI3sFV8lTj7hH2JM9R3izUlbHp3CfVYtebzgDfdF4VMJeq+60tFbIc teTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+EHLi/pEdydeVQSPS8JiUCU4b6C8ijlHrlnkCBX33qU=; b=tHGYK2KU9lL/ITq16KvccqMosFLBvr4k82vklDt2jGNf001LlGiT9ORjoDUjhD0Imu wIRpG6cYBpwZN4iS0pU6HOr44uRGqw63LiWp5UGVtTynKk9qip2fV8ZhGHkxVswClPSX lSTC7o+cwm/5sMHHZs/zEbm6LpBYNsl4RAde4qPjBzNbHsCQhdTGBfbBWWmvhTtv0Jtn 2jAitqEiQI6wpOTq4wvDXH7mRk0xOJs+wO1/KVnA1jRSzQW5bky5fA8yfJic6HK09WNv n/b/6rSMfm6ufp9YgQFZFLApLxkCOP+uBy2klHwNq3elP07FNE2CrotY+8J8Cd+FuzmW Eb7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F2CJBXF3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a26-20020a170906275a00b008bc042c16cesi24824979ejd.827.2023.03.27.14.38.11; Mon, 27 Mar 2023 14:38:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F2CJBXF3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232354AbjC0VfD (ORCPT + 99 others); Mon, 27 Mar 2023 17:35:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbjC0VfC (ORCPT ); Mon, 27 Mar 2023 17:35:02 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 569492121 for ; Mon, 27 Mar 2023 14:35:01 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id i7so12625159ybt.0 for ; Mon, 27 Mar 2023 14:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679952900; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+EHLi/pEdydeVQSPS8JiUCU4b6C8ijlHrlnkCBX33qU=; b=F2CJBXF3tN3ocsEICdrW7raAYzXA4DkY/rbN8hYHJXAvuePg7dJuj7vxEUY8C6thKq h/6C2I/X9NL7sf2SqR0/Lgh2pOOXGn15t49+syX0LbjTH9jVOmVC3uxmVrJfmAzwxc9f xbdTnrg22udcZa/I2/VcUTMsLsnR+2bblNy1OpSaN/wjDAyrbx+tI/VErjeGACN5V791 R4gBfZRuGsZcmXjKlSP+lm5k8wwNpmQXV2VpDRGF5FrQqGtzWH6l9bH2rB1gpY49oYSf Kk8jXQ4kr92b68FIJMs5bA+ZBNhWVAbEEG4gqcRrafQo7c9j3KjXf6HyrnxzsR7U6rzN ytVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679952900; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+EHLi/pEdydeVQSPS8JiUCU4b6C8ijlHrlnkCBX33qU=; b=2NSM4AvsKAto6tlJE/pN6oudynBKBUH/h3Umronebsrn0jn+GS42yKKDcEDXss14y9 h+S2V5WxZvdV2slCv/lhf84EcRvCJt0EyrKNNHvFNhq/JPZcaQDKulrigsccJeTIXpR7 c+lUmPJqRM4D269HbnEG2uw8hCxNAAtOzitcbo5VRS5p7QJOZ7M1IQK7PWg4IZ5ae2DP TikHWJsBmBKxeCkSC+pf5eu78S94E9pjX8bQoyu4peK7rEVp8b6BGNRVKjbpGQdRxMuH 0bFYxZBJi53ojv48JJxDZ5X+U33oIUv5F6wUqsRCCfEMYrdWJHVkvFPuLEQNrZSbSLMh wzwg== X-Gm-Message-State: AAQBX9emq0S5wLMBmyOE2pFb6u3DPpkOIw+fBwqU2yg9HhC8eU8xxilc 9GV3osDBQaGCVExSKQAFxARWvQrUFnVGPF2DCSPtUg== X-Received: by 2002:a05:6902:120c:b0:b74:77fa:581d with SMTP id s12-20020a056902120c00b00b7477fa581dmr6463549ybu.4.1679952900593; Mon, 27 Mar 2023 14:35:00 -0700 (PDT) MIME-Version: 1.0 References: <20230327062754.3326-1-clin@suse.com> <20230327062754.3326-2-clin@suse.com> In-Reply-To: <20230327062754.3326-2-clin@suse.com> From: Linus Walleij Date: Mon, 27 Mar 2023 23:34:49 +0200 Message-ID: Subject: Re: [PATCH v5 1/5] pinctrl: s32: refine error/return/config checks and simplify driver codes To: Chester Lin Cc: Andy Shevchenko , NXP S32 Linux Team , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ghennadi Procopciuc , Andrei Stefanescu , Radu Pirea , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Matthias Brugger Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 27, 2023 at 8:28=E2=80=AFAM Chester Lin wrote: > Improve error/return code handlings and config checks in order to have > better reliability and simplify driver codes such as removing/changing > improper macros, blanks, print formats and helper calls. > > Signed-off-by: Chester Lin > Reviewed-by: Andy Shevchenko Patch applied! Yours, Linus Walleij