mbox series

[0/2] HID: wiimote: Minor change to spinlock usage

Message ID 20190626150212.27967-1-abbotti@mev.co.uk (mailing list archive)
Headers show
Series HID: wiimote: Minor change to spinlock usage | expand

Message

Ian Abbott June 26, 2019, 3:02 p.m. UTC
A couple of minor changes to the wiimote core module.  They do not
change functionality of the driver:

1) HID: wiimote: make handlers[] const
2) HID: wiimote: narrow spinlock range in wiimote_hid_event()

 drivers/hid/hid-wiimote-core.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Comments

David Rheinsberg Aug. 6, 2019, 2:11 p.m. UTC | #1
Hey

On Wed, Jun 26, 2019 at 5:02 PM Ian Abbott <abbotti@mev.co.uk> wrote:
>
> A couple of minor changes to the wiimote core module.  They do not
> change functionality of the driver:
>
> 1) HID: wiimote: make handlers[] const
> 2) HID: wiimote: narrow spinlock range in wiimote_hid_event()
>
>  drivers/hid/hid-wiimote-core.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)

Both changes look good to me:

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>

Thanks!
David