Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2520860rdb; Tue, 12 Sep 2023 04:47:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPOZ2B8qFBb0LcUVR3bBTN/15MpnkDloGviLfJCqJOEil9F7xsMGzdfy5CWKvYjLfK5h1G X-Received: by 2002:a17:90a:9113:b0:268:dad:2fdc with SMTP id k19-20020a17090a911300b002680dad2fdcmr11847414pjo.21.1694519233269; Tue, 12 Sep 2023 04:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694519233; cv=none; d=google.com; s=arc-20160816; b=GWmkrGvljZqwUCfJFvlLPdl+arFwgXN9KzfRTLp05pAzE8xf9ooJqt6z/wTnAVX85Y fpaA/ZF4d1N3ei0rohgy9ZEdIIJf4NSL3PaKMvGvadqBFvqmf3CWwSbUuMDK7QhNoRxR 4M11bZVY+bqkjO1ZOU3YLI8FV/sbd1w11g1vYcCxtdyo7ziKg72uBEuugqi2HcMya29z AwuYgczAbo4bO9cF+CpXg5XHRGctRkJrCHyP9npkd+inajlWM6Up4QSFWz611LjjZjot Sq5h/9ADnvHPydn/NQE3x3o4D8AvBgBrP2eGYImyzL0SKmiJ6t8ZXV3pUY8Awt86af5h hR7w== 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=m0wTIBjz7kND/AUdb88zaZ6X4O2w6qaMsynEQ4VEpl8=; fh=L+AkR4fOAVePYSurmE1JhbOISPgPCIjOXtmfcRFWXjE=; b=f8Dhrk8Wp+PNgv4gURKq3RJL7bt4Hx9DRVEbAaH+SN61962uMe+Ws/qH8m/JXWlrwU nVlt2fZSx333WgL+XipXqa+MMjBxREBraLYAdg8XzOMTcQkGhaUFnyl0XdOgop59yHIz 0sW5kw8KAibCPKPpsouzBfUSp+AjnPUzQgcPyziWolitnu7zjIJ/kNSq1oKfTyzkckcp dTOVNeO4PMjwTtk/U/uL/gtmqKr1iRHZPNoWMFgnQjySMVozdRP013WdVKz9IbJFAmj/ oVMIEykuO44nym0mI4WpfEnBI7kCcLMFhqFpFP8aXSqyHAdAPDPVdlkyTT+JOHHjXmuC jUXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=epfwlznd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id mz14-20020a17090b378e00b002532c9b252asi7581355pjb.73.2023.09.12.04.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 04:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=epfwlznd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B32D081A5AC3; Tue, 12 Sep 2023 01:13:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232193AbjILINd (ORCPT + 99 others); Tue, 12 Sep 2023 04:13:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232133AbjILINc (ORCPT ); Tue, 12 Sep 2023 04:13:32 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A051E10C3 for ; Tue, 12 Sep 2023 01:13:28 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-d7e904674aeso4563723276.3 for ; Tue, 12 Sep 2023 01:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694506408; x=1695111208; darn=vger.kernel.org; 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=m0wTIBjz7kND/AUdb88zaZ6X4O2w6qaMsynEQ4VEpl8=; b=epfwlzndbg8iN6IKpVOONhQux0Y+bcRHa+QZa+tSab7mp5H/8xUtMLwZlIyHESK5CR dHbZRTnLBE8AGhBfsGKKJfrD4WffVD6Yzjub+aPvCjuUFH9EQKi9KsMPF8Cf1kCqpfeF qr6+BSI0PqJ3Qcc9P9sVTtUN8QlSxzDqDg39TrjMT6Tw4UB2pLIKO1GPU8EzCMurtSb6 fmh17+Q78dIvBRhPqRQ04KgcGfMfzDq91WBvoes8VemaC4/SnRVocfKwYN9xRQk+6U4q M7Xy/H4j8GJO3sqG/pHQZUn0LCCnVfD3MaAdPaKFw9D2hYn1hSEn1AGV3OoTWrKipdoO Tmmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694506408; x=1695111208; 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=m0wTIBjz7kND/AUdb88zaZ6X4O2w6qaMsynEQ4VEpl8=; b=CPz1gWYZEMc4YwUJvAjXmHTbxu/B+i0ZznVkPE5/3hgYLZSwnBjdf0h0syk6sEHoCf ldDTIGoYght9660oEcvTn0RZZ6N6P4+3JiBx3O9AXPXK9ModTak9YN6Emq8a2DGiMm8N mPNJ+jCM5mY/sqmwNmIjhFe8G5PMEho6Y87pS6A6assjds5oYXMZ9JeVvfoGmBl3LJ00 li5RBpas2FsQr5HmKizxWcio6uqmPaVQ2AHiyfiGhIgARIesdG99Vjx0ntxGITslHrks 1F41+berr98c3QvXqveE4HYOL/OEzlC/SnkEytoiSyVSQTd0MAC8JVUJQaLqdFY7lw5C 2eSw== X-Gm-Message-State: AOJu0Ywh0xbEeyMLe9Y0TBX0I9p+Oj4cyBfUH7EadeA79b0w2TZcGZx0 J9cUVEEoTfMLsQ4pksBPKhij/yGfrF9QikSjLDa15w== X-Received: by 2002:a25:8451:0:b0:d0a:8973:b1c with SMTP id r17-20020a258451000000b00d0a89730b1cmr9957810ybm.12.1694506407900; Tue, 12 Sep 2023 01:13:27 -0700 (PDT) MIME-Version: 1.0 References: <20230909110459.12453-1-biju.das.jz@bp.renesas.com> In-Reply-To: <20230909110459.12453-1-biju.das.jz@bp.renesas.com> From: Linus Walleij Date: Tue, 12 Sep 2023 10:13:16 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: sx150x: Simplify probe() To: Biju Das Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Biju Das , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 01:13:37 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 lipwig.vger.email On Sat, Sep 9, 2023 at 1:05=E2=80=AFPM Biju Das wrote: > Simpilfy probe() by replacing of_device_get_match_data() and ID lookup fo= r > retrieving match data by i2c_get_match_data(). > > Signed-off-by: Biju Das Patch applied. Yours, Linus Walleij