[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240528102708.1451343-1-andy.shevchenko@gmail.com>
Date: Tue, 28 May 2024 13:25:01 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>,
linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Guanbing Huang <albanhuang@...look.com>,
Guanbing Huang <albanhuang@...cent.com>,
Christoph Hellwig <hch@...radead.org>
Subject: [PATCH v2 0/2] PNP: Fix handling of pnp_bus_type
There is a fix for recently introduced dev_is_pnp() that involves pnp_bus_type
and one improvement to hide that variable from the wider audience for good.
In v2:
- reworked patch 1 as suggested by Christoph
- added a new patch to make less possibilities for (ab)using pnp_bus_type
Andy Shevchenko (2):
PNP: Make dev_is_pnp() to be a function and export it for modules
PNP: Hide pnp_bus_type from the non-PNP code
drivers/pnp/base.h | 1 +
drivers/pnp/driver.c | 6 ++++++
include/linux/pnp.h | 6 ++----
3 files changed, 9 insertions(+), 4 deletions(-)
--
2.45.1
Powered by blists - more mailing lists