summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2018-03-02 13:20:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 20:46:18 +0300
commitcf6e06cddf29722a4e54b9d66df24c381b231600 (patch)
tree527f052a6e57703685bb7d66d744c2704c56adc9 /Documentation/admin-guide
parentad70f937e9d0bdc580e390db3a047f9e58863b6e (diff)
downloadlinux-cf6e06cddf29722a4e54b9d66df24c381b231600.tar.xz
usb: typec: Start using ERR_PTR
In order to allow the USB Type-C Class driver take care of things like muxes and other possible dependencies for the port drivers, returning ERR_PTR instead of NULL from the registration functions in case of failure. The reason for taking over control of the muxes for example is because handling them in the port drivers would be just boilerplate. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions