diff options
author | Alexandru Ardelean | 2021-05-14 11:56:27 +0300 |
---|---|---|
committer | Bartosz Golaszewski | 2021-05-21 15:29:53 +0200 |
commit | 6681db5ef540bc47a654c8d85d27042626edc6f8 (patch) | |
tree | 235d746c1e23e55e16d28c1fb6222462930a0b22 /usr | |
parent | ec5aa31bbed6ca153b47f60af0d21032296b04ad (diff) |
gpio: adp5520: cleanup probe error path + remove platform_set_drvdata()
The platform_set_drvdata() call is only useful if we need to retrieve back
the private information.
Since the driver doesn't do that, it's not useful to have it.
This also means that the 'err' label can be removed and all goto statements
replaced with direct returns (with error codes).
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions