aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2018-03-02 11:20:47 +0100
committerGreg Kroah-Hartman <[email protected]>2018-03-09 09:46:18 -0800
commitcf6e06cddf29722a4e54b9d66df24c381b231600 (patch)
tree527f052a6e57703685bb7d66d744c2704c56adc9 /scripts/stackusage
parentad70f937e9d0bdc580e390db3a047f9e58863b6e (diff)
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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions