aboutsummaryrefslogtreecommitdiff
path: root/fs/sysv/dir.c
diff options
context:
space:
mode:
authorAlexandru Ardelean2021-05-21 21:10:42 +0300
committerBartosz Golaszewski2021-05-23 20:30:26 +0200
commit94a7b66910ea6e4583addd8212aa8cd3f7a8c9c1 (patch)
tree751798262bad06ad42d312d5fb5424296e3e4bfd /fs/sysv/dir.c
parent91d594b2db51f680ba52862d1bbe14801b4dcd54 (diff)
gpio: xgene: simplify probe, return devm_gpiochip_add_data() directly
The handling of the return value from devm_gpiochip_add_data() is a bit redundant. It prints messages on error and success cases. While the success message may be useful, it is more in the area of log spam, and these can be printed with other forms of kernel logging. This change does a direct return with devm_gpiochip_add_data() in the probe function. The platform_set_drvdata() is needed, as this driver uses the stored private date in the PM suspend/resume routines. Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'fs/sysv/dir.c')
0 files changed, 0 insertions, 0 deletions