]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit3c39c9c6e9bda4d234bd24aaf34606479f581f4a
tree7b52e0b68d455da61fe4747d945b9a4a17d5d525
parent5e393a2227ba97408ffb98d62cf362dfe2a59baa
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>
drivers/mfd/ti_am335x_tscadc.c