tsadc: define INVALID_TEMP and return it when some err happen
author陈亮 <cl@rock-chips.com>
Wed, 17 Sep 2014 01:17:27 +0000 (18:17 -0700)
committer陈亮 <cl@rock-chips.com>
Wed, 17 Sep 2014 01:17:27 +0000 (18:17 -0700)
commite0384471e3722617652121f77a1385da2f43003c
tree20c40e9b5b56f8ee1617b726fedd9a5c127349cf
parentbb50c81be9bf699fb59734738d0a1adcf66c7615
tsadc: define INVALID_TEMP and return it when some err happen

Signed-off-by: 陈亮 <cl@rock-chips.com>
drivers/hwmon/rockchip-hwmon.c
drivers/hwmon/rockchip_tsadc.c
include/linux/rockchip/common.h