HID: logitech-dj: rename dj_receiver_dev.hdev to dj_receiver_dev.hidpp
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Apr 2019 11:21:51 +0000 (13:21 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 23 Apr 2019 16:00:41 +0000 (18:00 +0200)
commit0ee755449157cf7551a8252a2bafeed7b5acdbb3
tree5170e1df78f2aff9c676414265edcc29a1e72bd8
parentf41d766c34cbab024412d433a43d2d83a37e5135
HID: logitech-dj: rename dj_receiver_dev.hdev to dj_receiver_dev.hidpp

For the upcoming non-unifying receiver support, we are going to bind to
all USB-interfaces of a receiver, sharing a single struct dj_receiver_dev
between the interfaces. This means that dj_receiver_dev will contain
multiple pointers to a struct hid_device. Rename the current hdev member
to hidpp to prepare for this.

While at it switch dev_err calls which we are touching anyways from
dev_err to hid_err.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-dj.c