Message ID | 20221222-hid-v1-0-f4a6c35487a5@weissschuh.net (mailing list archive) |
---|---|
Headers | show |
Series | HID: remove some unneeded exported symbols from hid.h | expand |
Hi On Thu, 22 Dec 2022 at 06:10, Thomas Weißschuh <linux@weissschuh.net> wrote: > Small cleanup to get rid of exports of the lowlevel hid drivers and to make > them const. [...] > Thomas Weißschuh (8): > HID: letsketch: Use hid_is_usb() > HID: usbhid: Make hid_is_usb() non-inline > HID: Remove unused function hid_is_using_ll_driver() > HID: Unexport struct usb_hid_driver > HID: Unexport struct uhid_hid_driver > HID: Unexport struct hidp_hid_driver > HID: Unexport struct i2c_hid_ll_driver > HID: Make lowlevel driver structs const Yeah, it makes sense to avoid exposing the structs. Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com> Thanks David
Hi, On 12/22/22 06:10, Thomas Weißschuh wrote: > Small cleanup to get rid of exports of the lowlevel hid drivers and to make > them const. Thanks, the entire series looks good to me: Reviewed-by: Hans de Goede <hdegoede@redhat.com> for the series. Regards, Hans > > To: Hans de Goede <hdegoede@redhat.com> > To: Jiri Kosina <jikos@kernel.org> > To: Benjamin Tissoires <benjamin.tissoires@redhat.com> > To: David Rheinsberg <david.rheinsberg@gmail.com> > To: Marcel Holtmann <marcel@holtmann.org> > To: Johan Hedberg <johan.hedberg@gmail.com> > To: Luiz Augusto von Dentz <luiz.dentz@gmail.com> > To: "David S. Miller" <davem@davemloft.net> > To: Eric Dumazet <edumazet@google.com> > To: Jakub Kicinski <kuba@kernel.org> > To: Paolo Abeni <pabeni@redhat.com> > Cc: linux-input@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-usb@vger.kernel.org > Cc: linux-bluetooth@vger.kernel.org > Cc: netdev@vger.kernel.org > > --- > Thomas Weißschuh (8): > HID: letsketch: Use hid_is_usb() > HID: usbhid: Make hid_is_usb() non-inline > HID: Remove unused function hid_is_using_ll_driver() > HID: Unexport struct usb_hid_driver > HID: Unexport struct uhid_hid_driver > HID: Unexport struct hidp_hid_driver > HID: Unexport struct i2c_hid_ll_driver > HID: Make lowlevel driver structs const > > drivers/hid/hid-letsketch.c | 2 +- > drivers/hid/i2c-hid/i2c-hid-core.c | 3 +-- > drivers/hid/uhid.c | 3 +-- > drivers/hid/usbhid/hid-core.c | 9 +++++++-- > include/linux/hid.h | 18 ++---------------- > net/bluetooth/hidp/core.c | 3 +-- > 6 files changed, 13 insertions(+), 25 deletions(-) > --- > base-commit: d264dd3bbbd16b56239e889023fbe49413a58eaf > change-id: 20221222-hid-b9551f9fa236 > > Best regards,
On Thu, 22 Dec 2022, Thomas Weißschuh wrote: > Small cleanup to get rid of exports of the lowlevel hid drivers and to make > them const. > > To: Hans de Goede <hdegoede@redhat.com> > To: Jiri Kosina <jikos@kernel.org> > To: Benjamin Tissoires <benjamin.tissoires@redhat.com> > To: David Rheinsberg <david.rheinsberg@gmail.com> > To: Marcel Holtmann <marcel@holtmann.org> > To: Johan Hedberg <johan.hedberg@gmail.com> > To: Luiz Augusto von Dentz <luiz.dentz@gmail.com> > To: "David S. Miller" <davem@davemloft.net> > To: Eric Dumazet <edumazet@google.com> > To: Jakub Kicinski <kuba@kernel.org> > To: Paolo Abeni <pabeni@redhat.com> > Cc: linux-input@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-usb@vger.kernel.org > Cc: linux-bluetooth@vger.kernel.org > Cc: netdev@vger.kernel.org > > --- > Thomas Weißschuh (8): > HID: letsketch: Use hid_is_usb() > HID: usbhid: Make hid_is_usb() non-inline > HID: Remove unused function hid_is_using_ll_driver() > HID: Unexport struct usb_hid_driver > HID: Unexport struct uhid_hid_driver > HID: Unexport struct hidp_hid_driver > HID: Unexport struct i2c_hid_ll_driver > HID: Make lowlevel driver structs const > > drivers/hid/hid-letsketch.c | 2 +- > drivers/hid/i2c-hid/i2c-hid-core.c | 3 +-- > drivers/hid/uhid.c | 3 +-- > drivers/hid/usbhid/hid-core.c | 9 +++++++-- > include/linux/hid.h | 18 ++---------------- > net/bluetooth/hidp/core.c | 3 +-- > 6 files changed, 13 insertions(+), 25 deletions(-) Applied to hid.git#for-6.3/hid-core. Thanks,