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 AC075C43217 for ; Thu, 17 Nov 2022 11:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239746AbiKQLHJ (ORCPT ); Thu, 17 Nov 2022 06:07:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239848AbiKQLG3 (ORCPT ); Thu, 17 Nov 2022 06:06:29 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D8C631FB2 for ; Thu, 17 Nov 2022 03:06:29 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id v1so3147568wrt.11 for ; Thu, 17 Nov 2022 03:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=kYDg53wsGKutNyKBdN9lJQxQ/YinXUOzzbN1yqpmcgE=; b=N8GxB1tiMjXUW++FirZ1HVaPg7IPaKpd6YWD+02vgi4dVNbZcPrrSId5hbmJCJ7afR ZS69cVHASx2Y0eZ5uGHSoU6J7g7RGcXLs+ipXCpZ2o0p1ynf9xosyKKkCSLhj7krp21V ndQNsYd0tfst1Kl5WGGLucB6fi3fDS9DZxEEVeeMGMzhD6qLJi2PQvJPneFXdKOgvKWu QLlGd6/k3CT6gFRcekXqgZvdo1lW4A7r0ZNwxa33R/qLSa+1fRzgca1aT+4PCP/7yKEp DFcQE3hdU0h9UJ9jOVmj+C6psrgDyuZtZi5qjEnf5aRYIVPIFvhtsnIlvRN1qd4hzJpD ASqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding: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=kYDg53wsGKutNyKBdN9lJQxQ/YinXUOzzbN1yqpmcgE=; b=2x8CgOe75ixve3IP44ztgVK9nWzzVrn/FwnlDGM64izoH9MUmoorYMpTR9XTSbPz+F YuVrWo/6aTE2Q6cKDtM8G8cjD69x5VUUu8WEx8Z6qgnDk5OX/1rqIielwY5mXHGQfbw0 +JxLSPBKDOFFA9C+QgG/bNoXOugpdSaFomnskpu0sbMiKMHzmeQXUKO51lkdFmpVa/Sf oHtab+/vhGXoUXNtflrqpfCfHziIHhPyxSW8ZMM9aopOFz3Kx7YgZeYl6d9Vr0cy/hBz lvPV+swwnUkLbHJ8394JfEmVqVFhKCjUTsTAFd9riLkOp9M/QRWq1LeJRiXxKhBJSfBM shOw== X-Gm-Message-State: ANoB5plB1LgP495s/nO8Ci4LLE4VJWErTGhoeuHE2JqK8sfc2TXjwuef /rfkn5hv+RKetV2BFVxhE15DmA== X-Google-Smtp-Source: AA0mqf5engmUU+Hc6t1F6Ib5V1yWVikFr373w4fj9rIxmIhbIEKPd3q1IKOAKEHl8Wb1UH5RkrcGLA== X-Received: by 2002:a5d:678c:0:b0:235:14dc:5e14 with SMTP id v12-20020a5d678c000000b0023514dc5e14mr1192804wru.252.1668683187724; Thu, 17 Nov 2022 03:06:27 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id m14-20020a5d56ce000000b002364c77bc96sm661051wrw.33.2022.11.17.03.06.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 03:06:27 -0800 (PST) Date: Thu, 17 Nov 2022 11:06:25 +0000 From: Daniel Thompson To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Thierry Reding , Lee Jones , Jingoo Han , linux-pwm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] backlight: pwm_bl: Drop support for legacy PWM probing Message-ID: References: <20221117072151.3789691-1-u.kleine-koenig@pengutronix.de> <20221117102814.vdgixgfq4pr77fly@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221117102814.vdgixgfq4pr77fly@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org On Thu, Nov 17, 2022 at 11:28:14AM +0100, Uwe Kleine-König wrote: > On Thu, Nov 17, 2022 at 10:14:01AM +0000, Daniel Thompson wrote: > > On Thu, Nov 17, 2022 at 08:21:51AM +0100, Uwe Kleine-König wrote: > > > There is no in-tree user left which relies on legacy probing. So drop > > > support for it which removes another user of the deprecated > > > pwm_request() function. > > > > > > Signed-off-by: Uwe Kleine-König > > > > I have to take the "no in-tree user" on faith since I'm not familiar > > enough with PWM history to check that. However from a backlight > > point-of-view it looks like a nice tidy up: > > Reviewed-by: Daniel Thompson > > Probably "in-tree provider" would have been the better term. You can > convince you about that: > > $ git grep -l platform_pwm_backlight_data | xargs grep pwm_id > > That is, no machine used pwm_id to make the legacy lookup necessary. Thanks for that. pwm_request() seems so old that my intuition about how device APIs in Linux work misled me and I completely missed that the consumption of pwm_id at the call site was the key to the source navigation here. > Who will pick up this patch? Should I resend for s/user/provider/? Lee Jones should hoover this up. Normally I only pick up backlight patches when Lee's on holiday ;-). No need to resend on my account. I interpreted the original description as "provider" anyway, I just didn't know how best to search for them. Daniel. 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09CDBC433FE for ; Thu, 17 Nov 2022 11:06:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DE8D10E543; Thu, 17 Nov 2022 11:06:33 +0000 (UTC) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by gabe.freedesktop.org (Postfix) with ESMTPS id 37F4210E543 for ; Thu, 17 Nov 2022 11:06:29 +0000 (UTC) Received: by mail-wr1-x432.google.com with SMTP id h9so3313586wrt.0 for ; Thu, 17 Nov 2022 03:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=kYDg53wsGKutNyKBdN9lJQxQ/YinXUOzzbN1yqpmcgE=; b=N8GxB1tiMjXUW++FirZ1HVaPg7IPaKpd6YWD+02vgi4dVNbZcPrrSId5hbmJCJ7afR ZS69cVHASx2Y0eZ5uGHSoU6J7g7RGcXLs+ipXCpZ2o0p1ynf9xosyKKkCSLhj7krp21V ndQNsYd0tfst1Kl5WGGLucB6fi3fDS9DZxEEVeeMGMzhD6qLJi2PQvJPneFXdKOgvKWu QLlGd6/k3CT6gFRcekXqgZvdo1lW4A7r0ZNwxa33R/qLSa+1fRzgca1aT+4PCP/7yKEp DFcQE3hdU0h9UJ9jOVmj+C6psrgDyuZtZi5qjEnf5aRYIVPIFvhtsnIlvRN1qd4hzJpD ASqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding: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=kYDg53wsGKutNyKBdN9lJQxQ/YinXUOzzbN1yqpmcgE=; b=bf/qExyIX46rz0WH6nolEqDs8bGXBuNCfSpoCxZ1YvkXY5bcMytlICB412WDHajUgJ 3CJ7JSl9TXcFtENAFilsWrVRluYQnt1FZelMgDqc5zpCoG83M2neFl98WQ8h4aN8LwUF ehUtxD9KkiAYOhs2jLfePJ2281IRI/pBHSKYnRgbMcLamXkeyYEudXpU9kTBOyjCtkG3 15t74axXa7HLSutK0igLa2q5fSomxnpyXowGymc+bFo75ImLokij4GAB+UJJH1NOlmyz LYZ7/ek/hLGph6AA8UdepbCLTGYhmfcjqk7g9C9rEYTQ/mMbS8ocb2Z6MpfoJVfJgMl9 BDvQ== X-Gm-Message-State: ANoB5plhog1akXgSfhDH4LGkEIEGqq+fOKIIUzC5YK8HJ81syjbl6/1x G0J+oyKeAk1q22A9d/Vrv2Mx7KJILcgNHA== X-Google-Smtp-Source: AA0mqf5engmUU+Hc6t1F6Ib5V1yWVikFr373w4fj9rIxmIhbIEKPd3q1IKOAKEHl8Wb1UH5RkrcGLA== X-Received: by 2002:a5d:678c:0:b0:235:14dc:5e14 with SMTP id v12-20020a5d678c000000b0023514dc5e14mr1192804wru.252.1668683187724; Thu, 17 Nov 2022 03:06:27 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id m14-20020a5d56ce000000b002364c77bc96sm661051wrw.33.2022.11.17.03.06.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 03:06:27 -0800 (PST) Date: Thu, 17 Nov 2022 11:06:25 +0000 From: Daniel Thompson To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: Re: [PATCH] backlight: pwm_bl: Drop support for legacy PWM probing Message-ID: References: <20221117072151.3789691-1-u.kleine-koenig@pengutronix.de> <20221117102814.vdgixgfq4pr77fly@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221117102814.vdgixgfq4pr77fly@pengutronix.de> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, Jingoo Han , Lee Jones , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Nov 17, 2022 at 11:28:14AM +0100, Uwe Kleine-König wrote: > On Thu, Nov 17, 2022 at 10:14:01AM +0000, Daniel Thompson wrote: > > On Thu, Nov 17, 2022 at 08:21:51AM +0100, Uwe Kleine-König wrote: > > > There is no in-tree user left which relies on legacy probing. So drop > > > support for it which removes another user of the deprecated > > > pwm_request() function. > > > > > > Signed-off-by: Uwe Kleine-König > > > > I have to take the "no in-tree user" on faith since I'm not familiar > > enough with PWM history to check that. However from a backlight > > point-of-view it looks like a nice tidy up: > > Reviewed-by: Daniel Thompson > > Probably "in-tree provider" would have been the better term. You can > convince you about that: > > $ git grep -l platform_pwm_backlight_data | xargs grep pwm_id > > That is, no machine used pwm_id to make the legacy lookup necessary. Thanks for that. pwm_request() seems so old that my intuition about how device APIs in Linux work misled me and I completely missed that the consumption of pwm_id at the call site was the key to the source navigation here. > Who will pick up this patch? Should I resend for s/user/provider/? Lee Jones should hoover this up. Normally I only pick up backlight patches when Lee's on holiday ;-). No need to resend on my account. I interpreted the original description as "provider" anyway, I just didn't know how best to search for them. Daniel.