HID: i2c-hid: Fill in physical device providing HID functionality
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 28 Sep 2015 12:15:08 +0000 (15:15 +0300)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Sep 2015 10:04:28 +0000 (12:04 +0200)
commitf3984edc171c9f1296502d6d5e41290785816736
treee2327b937f9754b635c3e4ab410fd76ccd4f8c56
parent0678072755b6672b19ee0fd42748a003912fca09
HID: i2c-hid: Fill in physical device providing HID functionality

Currently hid_connect() prints out following when I2C connected HID devices
is connected:

  hid-multitouch 0018:03EB:2136.0001: ... [ATML3432:00 03EB:2136] on

After "on " should read physical device name but it is left empty by the
driver.

Make it look better and fill in the physical device name.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c