diff options
author | Patil, Rachna <rachna@ti.com> | 2012-11-06 13:39:03 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-26 00:36:21 +0100 |
commit | 3c39c9c6e9bda4d234bd24aaf34606479f581f4a (patch) | |
tree | 7b52e0b68d455da61fe4747d945b9a4a17d5d525 /drivers/mfd/viperboard.c | |
parent | 5e393a2227ba97408ffb98d62cf362dfe2a59baa (diff) | |
download | linux-3c39c9c6e9bda4d234bd24aaf34606479f581f4a.tar.bz2 |
MFD: ti_am335x_tscadc: Pass correct error message
Pass on the correct error message from platform_get_irq()
instead of hard coding it to "EINVAL".
Also change label from "err" to "ret" for better
readability and update the same in error path.
Signed-off-by: Patil, Rachna <rachna@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/viperboard.c')
0 files changed, 0 insertions, 0 deletions