diff options
| author | Heikki Krogerus <[email protected]> | 2018-03-02 11:20:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-09 09:46:18 -0800 |
| commit | cf6e06cddf29722a4e54b9d66df24c381b231600 (patch) | |
| tree | 527f052a6e57703685bb7d66d744c2704c56adc9 /scripts/stackusage | |
| parent | ad70f937e9d0bdc580e390db3a047f9e58863b6e (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