HID: lenovo-tpkbd: devm conversion
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 11 Sep 2013 20:12:23 +0000 (22:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 24 Sep 2013 09:47:47 +0000 (11:47 +0200)
commit01ab35f14aafbc6e159254f52444895661c2f604
treecab89ae2bb332a1fb9d96e5e606a1e770fa14bbf
parent84fca9f38c5d646e95cdeef70e41cf15db549b95
HID: lenovo-tpkbd: devm conversion

We can use the devres API in hid modules, so use it to avoid some kfree
and potential leaks.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo-tpkbd.c