Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F21DAC6FD1D for ; Fri, 17 Mar 2023 03:45:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229838AbjCQDp4 (ORCPT ); Thu, 16 Mar 2023 23:45:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjCQDpq (ORCPT ); Thu, 16 Mar 2023 23:45:46 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2074.outbound.protection.outlook.com [40.107.13.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE200B3284; Thu, 16 Mar 2023 20:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mOpnQ6xmfftsvXluDQg4wL7z3AyVDGBLBCtWhiFKLTsMB+DEpxBmGbkX/vEpaKTKlfdq6WGy5jmaH4yx6ls/1WWp4Q39x1fqqnH3qcNbdVmIMGukQLxIL3b07ZcWvuHpt+epL6RsvFAMzUxEyq0pAj/rUathrcLqNrliT73i7n5vlq5tH58suemqeG5YioJmAJLoe/qSXyNJfQxzJbaXknYH/r+FZqY4QSgy9q+X0nfeaXZvkO27vbK5kRTqmdMbxq2ddcNVDy8qrz+XOUfjMJGmEhWcE4ORTiL7HRFk4zXxH+Bt6HNRbbEh3qs0QUFx9RiX8JIgRb0BOmrCv/2Ufw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Czdlx/cNW7KtySQdKgBc7R6OYWDGTq4oUFrX8x16+yQ=; b=iYHOWfpzBvoOUaEU/NrIXS+UxtS5dtC2sF0sf2LVZPWLnUa6xFGv8YgEeC3ldj6HM5SkTW8C6/+dtfdFyBDPJLONSm2rq+wyf8J8P/Vn2KlK5UpBo/wplVEBOgKhPqCF+9TBsD7XS62EexVvGPh4BWXa+XUjp8RLVUKabM6uiBWeDCNNbJ2v5SV9ShEpTf6c/BAwDwkDVxO0/ULz5KhwEiO4vpCFvbi+Cdw5HijYRnvkTL2zmZWYziBFs/TcYDpsjnG8F/iO0rbxy01dp1LMUo9gWxSDFnUJU+iYk0rOH2HPwBEhY/AuTwwHqezr6amJu6vejKxEQGhCK0TVuIIr8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Czdlx/cNW7KtySQdKgBc7R6OYWDGTq4oUFrX8x16+yQ=; b=hs8lHMb0fvWBfJdj2xBESg+NdwJgmQriRJr+cICZVdcSKw5wiHmmLSTQydgPQKwejev3lZvGtohjIt2yJcPCn/DV77aSKPEOAd/eAQxPLjXfVfn+x7xc24ffZG71uDv2+Y8uGKsk6BKEf3Pa+TVXAB8TFyZNsTpdmPfa2QosA2JBnF8575n/7wAPuJaS7R1DxMrxV1htnXUc+qh6XfU8pDf0ZItDt9hw+cKe2SGuX0j/4RH/4Nr32QoWSt3Z00xvP64INFGawcr8uYU44mQ4eW//wfTzFj/nQf1RJU1KVH3HJ+tYrTtna8kXMpIz+cEuL1oEJO/QH3Zp8snyn8EH2w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by AM9PR04MB8098.eurprd04.prod.outlook.com (2603:10a6:20b:3ef::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.33; Fri, 17 Mar 2023 03:45:34 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::6802:b2c3:5f12:8f9f]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::6802:b2c3:5f12:8f9f%2]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 03:45:34 +0000 Date: Fri, 17 Mar 2023 11:45:21 +0800 From: Chester Lin To: Andy Shevchenko Cc: Linus Walleij , 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 , Andreas =?iso-8859-1?Q?F=E4rber?= , Matthias Brugger Subject: Re: [PATCH 0/3] pinctrl: s32: driver improvements and generic struct use Message-ID: References: <20230314134642.21535-1-clin@suse.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: KU1PR03CA0020.apcprd03.prod.outlook.com (2603:1096:802:18::32) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR0402MB3439:EE_|AM9PR04MB8098:EE_ X-MS-Office365-Filtering-Correlation-Id: 735aff65-9004-452d-53ad-08db269a1056 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xZzN/cPZLSwENIHUClrH89YYDkfpk3XLMkiKd6AR6C5m4eegxpyALFzN4ymOkuxLS8mxbdtZfhzw7GLpndjKuFX4qK6zKQHFfZ48AKN97HaWL6c5boKPI7Md50XKagxIXf/XfN4mMncgAcOeMpsIP4ibcjM124tP3zrhFhua2ZmhvVJHhuuoTuqMMgahR7WAEIaHvIZuVE/g6WD9/wmTNGQ1ycGZj8qGHh8f+zOyo6Eyyfv/i9uXZJpqcFnxeeSrOENhUJDKC0cszFWvEbZGOBKorUj7/eeeD0ZuTPgWF+4RrvTWxKTdypUyK9f/fyDmRnSv2Y04SjtuL4Bpl9LzyUW+XGuG+z4lTaMhwOmCyq3+9sb0qzT6gqG+wqq3XLe8Q3J2086sNDIG47yZtjwJnnNsyzU/0QEX4Q+QqynDVQfj7wuGEPVbBEpVlAcfxwOKInHGyHtHEYCzQS6YWCK7CkNhxo1UGWkT+bAXM4qsshGzF6C3dWZ33Qo1ruTvkcCt6QYTeG+5dQsxLKl69Red9l8r5L6sh/45j0uiWYEuRoTMBrtbh2DoO0LHf75eBg3Hvdewb5QK88R/NaSaG6jTa/WJiuKmcvAcG9rtnwmyVzSYn3ATkgyKNQPjMGKHSZg/rmoSQ1gWQyCyElGapKTtXt01y9Hg22ndTqWNCebjyWFKbZrskuSioI89comO5Wt4 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR0402MB3439.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(7916004)(366004)(396003)(39860400002)(136003)(376002)(346002)(451199018)(33716001)(54906003)(478600001)(107886003)(53546011)(6486002)(5660300002)(6506007)(6512007)(9686003)(186003)(26005)(6666004)(316002)(38100700002)(86362001)(41300700001)(2906002)(7416002)(4744005)(8936002)(6916009)(8676002)(66556008)(4326008)(66946007)(66476007)(41533002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Zk90NzEvRkZnZjhUOERuZzlFS1dMaXo3Wjd3ajVqb2dKR0pKaEFiNUFJaVhZ?= =?utf-8?B?RzlVWU1BVHVSVjRi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= =?utf-8?B?MlZ1c1kzZm1rYUZHalppWng5N0hKU2Q5UENrWW5VUUQzaHFHNzZzcG54WHFJ?= =?utf-8?B?c09zNG1VbzhhT05IWlJ5aWNyancraVQ1QXV2Wm5WQzc5TzBUcTluR09iS3F5?= =?utf-8?B?TlprWUU4YmhGenlPUE9Ea1BwNENXOVVLbEdxVGlPV3pxVUsvajZqMkkxaHZq?= =?utf-8?B?UjhOVXEyOVM0V1hxb2gveGhVa2o5L0JCVXE4N3NFTmFSdkhzWE9Uamx5eGVB?= =?utf-8?Q?Czi+RSNR+vbhlbB3aFh2+/enx?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 735aff65-9004-452d-53ad-08db269a1056 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 03:45:34.6156 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cXTZeTxNRT4AT48/ndLjF90epgVAIECfdqw5OwWZ/ttE4Ny1wKcbEP0zXuHD/MRR X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8098 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Tue, Mar 14, 2023 at 07:21:55PM +0200, Andy Shevchenko wrote: > On Tue, Mar 14, 2023 at 3:46 PM Chester Lin wrote: > > > > Hello, > > > > This patch series contains some improvements for s32 pinctrl drivers suggested > > by upstream[1], such as > > > > - Fix error shadowings and improve return value handlings. > > - Fix print format. > > - Remove unnecessary blanks. > > - Use proper macros and helpers to simplify codes. > > - Refactor config param parsing and remove config arguments that are never used. > > - Use generic struct pingroup and struct pinfunction to describe pin data. > > Overall it looks not bad, thank you for doing this. > Individual patches have been reviewed and commented accordingly. Thank you for reviewing this patch. I will fix the rest in v2 soon. Regards, Chester > > -- > With Best Regards, > Andy Shevchenko