]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: most: hdm-usb: unify returned errors
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Fri, 9 Sep 2016 13:25:39 +0000 (15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 07:47:15 +0000 (09:47 +0200)
commita27cb25b64d9737df3e12f970ef9b5b638f7907f
tree9ab13f83fa75192e971a8c05f819a3f2e4e5ec78
parenta747b42c8cd70bffe96862479aa1358553a0ab8f
staging: most: hdm-usb: unify returned errors

This patch is needed to return the same error codes for the same error
cases in the functions show_value() and store_value().

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c