Message ID | 20230905185309.131295-21-brgl@bgdev.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8AEC8CA0FF7 for <linux-arm-kernel@archiver.kernel.org>; Tue, 5 Sep 2023 18:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xb3ak/M3Yo9C+zNGeG/dVZE8mHE1SP29NA0UwcJSBTQ=; b=wAKtLAJon5/Sm0 4ZNHnr1eJipHnEmO3eELfJ8pT36kdPyW4am73jPUraulaaIYdT7zlqa9Xo/TVtgEkO/R4VRDM9O45 5KfOxPbqsFpVaE3PWuhRU93wyRYOwgjticD4bZNSnrTOCWX4g5UCfDaIsXq0s/J5rQNJJAsMU+tVm YizPUPJ2wKFXAbsdPJlqDzs2A8Chy7+BQ2HDAjfYMHc2i4tYrAQyYEukjtdtRcnknK5xddtXLpaQc yIijiVFY39hL4BLdFA0A/zZHBDY3FLNL4NXFuK73o0W5Lbf0LtsUl6QV72Pb5VxF0vEqULh4wGmz2 +8norRO8z/pJsD0Nr/4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdbBe-006YsS-1x; Tue, 05 Sep 2023 18:54:06 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdbBS-006Yb8-0D for linux-arm-kernel@lists.infradead.org; Tue, 05 Sep 2023 18:53:55 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40078c4855fso28210325e9.3 for <linux-arm-kernel@lists.infradead.org>; Tue, 05 Sep 2023 11:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1693940030; x=1694544830; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y08y4soco06KI/f6qh6fDW5G+nl2ifTZ323XD3WrKbY=; b=PuU0Mt0Sit58vKylRA02TnUAv94KoSuqd53memMtYrL2mKDz8TjGwpoFODbspBI4fX jX62po0eaZvpTLEnQSqkbEHw+Eyc7PvQoOTJAmrkyrSoz5LbTrPvATi7mcaAOxLB4PTE NA2wfauF/VzC5VWtP7gLdO6wZjhhYDFol0hEX3dkyzprFG2vQMt7+6Qct4P4Jnx/73ab pxF2dIIMRQGKkOfjJs+ixB1CVFIVBCrYKP0HiBSZrF20SBFZzHSE5aFPB3wuO/UuYzSC KykhXnizC6npyx1oH5u+g5hWuE7HvdJLP2QSHKSC7nG7kkh8VEeLcJwZZs5ApCSfdxsU Yt6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693940030; x=1694544830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y08y4soco06KI/f6qh6fDW5G+nl2ifTZ323XD3WrKbY=; b=bXkcqRBX3x/qCXe3oz1m0HMaJix+590ETyfsC/ACjHkmfYzey9+UdruCKB/J+fH0mB 202XbPKohIiRCY1TjxdwarKG9uvDrqQsulP0NFzQaBT4A0Z4QhmMAq3dFQBj/R9x7h/2 2RIwk3ScIP/wCIKwJ9uBwUQTUpQeGOwJwxmcz4mnRT8shq1usUARHbK/KNIQZE6BH+D1 bZt4hTvprkAWUuHMO7L73rL7n8hJuf2YV9dI+nRqYFWEWEbUZ/W3ZhoU9kjq8MNLyqhu e5lREQuuF8Rwe7yT6maf/FHob6Ac9QRapHTOLJz8eX9zPOCs2vY8C25fGa6H2NWFAvTe hQaw== X-Gm-Message-State: AOJu0Yzpv8tGLamV8akfWf0mj56l3PWDX21ItOVwsqumpd3B0E5dpRdT stnfzQRfuXOIhLbIQHKLSP7Skw== X-Google-Smtp-Source: AGHT+IEgNpZG6hg0L74CESnSvpfFz6XeLAbhQH8cNkX0kwXYqx/uTGgV7V6lKbCtezy+q5QbzDETKg== X-Received: by 2002:a05:600c:21cd:b0:401:38dc:8916 with SMTP id x13-20020a05600c21cd00b0040138dc8916mr474754wmj.10.1693940030455; Tue, 05 Sep 2023 11:53:50 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7a54:5dbc:6d09:48b7]) by smtp.gmail.com with ESMTPSA id 17-20020a05600c249100b003fbc30825fbsm17550010wms.39.2023.09.05.11.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 11:53:49 -0700 (PDT) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Aaro Koskinen <aaro.koskinen@iki.fi>, Janusz Krzysztofik <jmkrzyszt@gmail.com>, Tony Lindgren <tony@atomide.com>, Russell King <linux@armlinux.org.uk>, Mika Westerberg <mika.westerberg@linux.intel.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Dipen Patel <dipenp@nvidia.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Hans de Goede <hdegoede@redhat.com>, Mark Gross <markgross@kernel.org> Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, timestamp@lists.linux.dev, linux-tegra@vger.kernel.org, platform-driver-x86@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [PATCH 20/21] gpio: sysfs: drop the mention of gpiochip_find() from sysfs code Date: Tue, 5 Sep 2023 20:53:08 +0200 Message-Id: <20230905185309.131295-21-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230905185309.131295-1-brgl@bgdev.pl> References: <20230905185309.131295-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230905_115354_121960_FCF47CED X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
gpio: convert users to gpio_device_find() and remove gpiochip_find()
|
expand
|
On Tue, Sep 5, 2023 at 8:53 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > We have removed all callers of gpiochip_find() so don't mention it in > gpiolib-sysfs.c. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c index 50503a4525eb..6f309a3b2d9a 100644 --- a/drivers/gpio/gpiolib-sysfs.c +++ b/drivers/gpio/gpiolib-sysfs.c @@ -814,7 +814,7 @@ static int __init gpiolib_sysfs_init(void) * gpiochip_sysfs_register() acquires a mutex. This is unsafe * and needs to be fixed. * - * Also it would be nice to use gpiochip_find() here so we + * Also it would be nice to use gpio_device_find() here so we * can keep gpio_chips local to gpiolib.c, but the yield of * gpio_lock prevents us from doing this. */