]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: es1: separate usb_log enable/disable logic into different functions
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 24 Mar 2015 19:45:31 +0000 (20:45 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 24 Mar 2015 19:45:31 +0000 (20:45 +0100)
commit0c264c6fc2c3f47d94169a38506cdf151a9ba52e
treec59908bd33b17c08b87c7942aa4082dd14a99276
parentefdc43130cdb3dbcd25d1586e93181abbc714ea5
greybus: es1: separate usb_log enable/disable logic into different functions

One function shouldn't do two different things depending on a parameter
passed to it, so split usb_log_enable() into usb_log_disable()

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1.c