MFD: ti_am335x_tscadc: Pass correct error message
authorPatil, Rachna <rachna@ti.com>
Tue, 6 Nov 2012 08:09:03 +0000 (13:39 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 25 Nov 2012 23:36:21 +0000 (00:36 +0100)
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>

No differences found