OpenCloudOS-Kernel/drivers/thermal/ti-soc-thermal
Dan Carpenter 1336919425 thermal: ti-soc-thermal: clean up the error handling a bit
We don't need to initialize "ret".  We can move the IS_ERR() checks into
the if condition instead of doing an assignment first.  Also there is a
check for "ret" when we know it is zero so we can remove that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2016-03-08 11:57:37 -08:00
..
Kconfig ti-soc-thermal: implement omap3 support 2015-09-29 14:08:24 -07:00
Makefile ti-soc-thermal: implement omap3 support 2015-09-29 14:08:24 -07:00
TODO thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
dra752-bandgap.h thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
dra752-thermal-data.c thermal: ti-soc-thermal: dra7: Implement Workaround for Errata i814 2015-05-08 17:55:46 -07:00
omap3-thermal-data.c thermal: ti-soc-thermal: add OMAP36xx support 2015-09-29 14:13:19 -07:00
omap4-thermal-data.c thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
omap4xxx-bandgap.h thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
omap5-thermal-data.c thermal: ti-soc-thermal: OMAP5: Implement Workaround for Errata i813 2015-05-08 18:02:29 -07:00
omap5xxx-bandgap.h thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
ti-bandgap.c thermal: ti-soc-thermal: clean up the error handling a bit 2016-03-08 11:57:37 -08:00
ti-bandgap.h thermal: ti-soc-thermal: add OMAP36xx support 2015-09-29 14:13:19 -07:00
ti-thermal-common.c thermal: consistently use int for temperatures 2015-08-03 23:15:50 +08:00
ti-thermal.h thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00