]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: typec: fsusb302: Drop empty set_current_limit implementation
authorHans de Goede <hdegoede@redhat.com>
Sun, 1 Jul 2018 12:27:20 +0000 (14:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Jul 2018 16:08:19 +0000 (18:08 +0200)
commit399111aaa7b9b4a2f7f20d38943ab55b6a67653e
tree7bdb186bcab5c976e27d67fca82c1b0afd001447
parent25b22e353c1f8d48e69fdef70a31be2f0d2bc410
USB: typec: fsusb302: Drop empty set_current_limit implementation

The set_current_limit tcpm_dev callback is optional and the tcpm core
will already log the passed in values, so there is no need to have an
empty implementation of this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/fusb302/fusb302.c