From mboxrd@z Thu Jan 1 00:00:00 1970 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 06D3FC4332F for ; Tue, 8 Nov 2022 21:52:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbiKHVwA (ORCPT ); Tue, 8 Nov 2022 16:52:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbiKHVv6 (ORCPT ); Tue, 8 Nov 2022 16:51:58 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3312061BA2 for ; Tue, 8 Nov 2022 13:51:54 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id b11so15001040pjp.2 for ; Tue, 08 Nov 2022 13:51:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=GcStMse0gOXICqsZmCXHBwHRT6HyP0h5NPN69p3VUYA=; b=HeVicfNKsz0ivZ0S/ZRbClZFnvd1l1tN4CMybCaR30MZUQzZbNBwNdYQFv17solgnI 41LKQAYwjD2Fiy5LiVZg1ve67FIKi8ss2AB02hTxjbfYwNtw+pKRXj4Tg5VKWWAOWH8Y uT1F7wH37GZx3PVgMcl21jgMPJ0TRJjFce1TVvj5q0ooo/U4RkkPiDa1QuzK4W9rOBBh bk7Sfubmd156xX+NJnD2isAdjuFkC/y7us2FwSLwN8kmy3sBDgax+fjLuPq5ExMOD8gI TR5xsdIgA8fh3VtwgFtsrMTG+6OE9Y4obWGHvETo+rANvOVKrCIHsXKH76hieW/ho+Fp iqSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GcStMse0gOXICqsZmCXHBwHRT6HyP0h5NPN69p3VUYA=; b=GY+CToGqvFt8UaKQpNpvp+5EfdgoiQUYQ0gBi+h4mR87/bh8QFkVCDzz3zKX5DVsvf f69dqIIsd9m7JqScTT5ebbrP/4SmAkwFFWEwiPwog6bbQ9lUAFt8v+cuAm0jNPlBszO8 YgA6PN+3bWZZF4rJw5hIrX8jioJzWS1Zdd/MS00ygpSUiYZzpA61x5yJXT0Hd1qsEWoV ZkFtMZvotKtWXgwmK4Gud9F0OXn8cvOycbX15nyhQqL6gWRMWA3nJIlcudXjU3h7CHj1 SsZO6ns2p1EoXHGDFaB5Zi7ZURyN+lg3FjGxjXVu030S2k8Pbe77FJVUbuoR2yz5Pu6T +tTw== X-Gm-Message-State: ANoB5pkHODFxCZuGzaCvkR2HdAew9Lt2xrGUlQL2DOLJlOC8VwuM1gfg P+BtQnfmT+bhkRGmKG2odu8= X-Google-Smtp-Source: AA0mqf47TPurVpbvaRt7PbSICrEmX1ldrfmnSs2VJ4meraCG3yUfzJMSxQsyPO98/udFw9LNB+RjMg== X-Received: by 2002:a17:902:744b:b0:188:8e6b:978a with SMTP id e11-20020a170902744b00b001888e6b978amr2855127plt.11.1667944313514; Tue, 08 Nov 2022 13:51:53 -0800 (PST) Received: from google.com ([2620:15c:9d:2:9f46:7242:26:f220]) by smtp.gmail.com with ESMTPSA id z17-20020aa79e51000000b0053e62b6fd22sm6772235pfq.126.2022.11.08.13.51.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 13:51:52 -0800 (PST) Date: Tue, 8 Nov 2022 13:51:49 -0800 From: Dmitry Torokhov To: Linus Walleij Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, Sylwester Nawrocki , Andrzej Hajda , Krzysztof Kozlowski , Alim Akhtar , Tommaso Merciai Subject: Re: [PATCH 1/2 v8] media: s5k4ecgx: Switch to GPIO descriptors Message-ID: References: <20221108195329.1827323-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221108195329.1827323-1-linus.walleij@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Tue, Nov 08, 2022 at 08:53:27PM +0100, Linus Walleij wrote: > The driver has an option to pass in GPIO numbers from platform > data but this is not used in the kernel so delete this and the > whole platform data mechanism. > > Get GPIO descriptors using the standard API and simplify the code, > gpiolib will handle any inversions. > > Cc: Sylwester Nawrocki > Cc: Andrzej Hajda > Cc: Krzysztof Kozlowski > Cc: Alim Akhtar > Cc: Dmitry Torokhov > Reviewed-by: Andrzej Hajda > Reviewed-by: Tommaso Merciai > Signed-off-by: Linus Walleij Reviewed-by: Dmitry Torokhov Thanks. -- Dmitry