From: Michal Wilczynski <michal.wilczynski@intel.com>
To: rafael@kernel.org, lenb@kernel.org, dan.j.williams@intel.com,
vishal.l.verma@intel.com, dave.jiang@intel.com,
ira.weiny@intel.com, rui.zhang@intel.com, jdelvare@suse.com,
linux@roeck-us.net, jic23@kernel.org, lars@metafoo.de,
bleung@chromium.org, yu.c.chen@intel.com, hdegoede@redhat.com,
markgross@kernel.org, luzmaximilian@gmail.com,
corentin.chary@gmail.com, jprvita@gmail.com,
cascardo@holoscopio.com, don@syst.com.br, pali@kernel.org,
jwoithe@just42.net, matan@svgalib.org, kenneth.t.chan@gmail.com,
malattia@linux.it, jeremy@system76.com, productdev@system76.com,
herton@canonical.com, coproscefalo@gmail.com, tytso@mit.edu,
Jason@zx2c4.com, robert.moore@intel.com
Cc: linux-acpi@vger.kernel.org, nvdimm@lists.linux.dev,
linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org,
chrome-platform@lists.linux.dev,
platform-driver-x86@vger.kernel.org,
acpi4asus-user@lists.sourceforge.net,
Michal Wilczynski <michal.wilczynski@intel.com>,
acpica-devel@lists.linuxfoundation.org
Subject: [PATCH v4 35/35] acpi/bus: Remove notify callback and flags
Date: Thu, 1 Jun 2023 15:21:37 +0200 [thread overview]
Message-ID: <20230601132137.301802-1-michal.wilczynski@intel.com> (raw)
As callback has been replaced by drivers installing their handlers in
.add it's presence is not useful anymore.
Remove .notify callback and flags variable from struct acpi_driver,
as they're not needed anymore.
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
---
include/acpi/acpi_bus.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 7fb411438b6f..3326794d5b70 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -151,12 +151,10 @@ struct acpi_hotplug_context {
typedef int (*acpi_op_add) (struct acpi_device * device);
typedef void (*acpi_op_remove) (struct acpi_device *device);
-typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event);
struct acpi_device_ops {
acpi_op_add add;
acpi_op_remove remove;
- acpi_op_notify notify;
};
#define ACPI_DRIVER_ALL_NOTIFY_EVENTS 0x1 /* system AND device events */
@@ -165,7 +163,6 @@ struct acpi_driver {
char name[80];
char class[80];
const struct acpi_device_id *ids; /* Supported Hardware IDs */
- unsigned int flags;
struct acpi_device_ops ops;
struct device_driver drv;
struct module *owner;
--
2.40.1
next reply other threads:[~2023-06-01 13:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-01 13:21 Michal Wilczynski [this message]
2023-06-02 1:08 ` [PATCH v4 35/35] acpi/bus: Remove notify callback and flags David E. Box
2023-06-02 9:26 ` Wilczynski, Michal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230601132137.301802-1-michal.wilczynski@intel.com \
--to=michal.wilczynski@intel.com \
--cc=Jason@zx2c4.com \
--cc=acpi4asus-user@lists.sourceforge.net \
--cc=acpica-devel@lists.linuxfoundation.org \
--cc=bleung@chromium.org \
--cc=cascardo@holoscopio.com \
--cc=chrome-platform@lists.linux.dev \
--cc=coproscefalo@gmail.com \
--cc=corentin.chary@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=don@syst.com.br \
--cc=hdegoede@redhat.com \
--cc=herton@canonical.com \
--cc=ira.weiny@intel.com \
--cc=jdelvare@suse.com \
--cc=jeremy@system76.com \
--cc=jic23@kernel.org \
--cc=jprvita@gmail.com \
--cc=jwoithe@just42.net \
--cc=kenneth.t.chan@gmail.com \
--cc=lars@metafoo.de \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=luzmaximilian@gmail.com \
--cc=malattia@linux.it \
--cc=markgross@kernel.org \
--cc=matan@svgalib.org \
--cc=nvdimm@lists.linux.dev \
--cc=pali@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=productdev@system76.com \
--cc=rafael@kernel.org \
--cc=robert.moore@intel.com \
--cc=rui.zhang@intel.com \
--cc=tytso@mit.edu \
--cc=vishal.l.verma@intel.com \
--cc=yu.c.chen@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).