HID: i2c-hid: switch to standard debugging APIs
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 23 Dec 2022 02:53:34 +0000 (02:53 +0000)
committerJiri Kosina <jkosina@suse.cz>
Wed, 18 Jan 2023 08:40:53 +0000 (09:40 +0100)
commit34ba3657a503184e8d9b64afac7f2d83ddae52fb
tree032a6c5763454512f410ed507f62e8e10a8ad8ea
parentd264dd3bbbd16b56239e889023fbe49413a58eaf
HID: i2c-hid: switch to standard debugging APIs

Instead of implementing a custom form of dynamic debugging we can use
the standard debugging APIs. If the kernel is built with
CONFIG_DYNAMIC_DEBUG this will be more discoverable and featureful.

Also the previous module parameter "debug" is read-only so it can't
actually be enabled.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid-core.c