Home
last modified time | relevance | path

Searched hist:bfa26838572cd9b2b0623fcbc7b9352dcaa4262b (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/samsung/
H A Dexynos_tmu.cdiff bfa26838572cd9b2b0623fcbc7b9352dcaa4262b Thu Oct 08 07:34:04 CEST 2015 Krzysztof Kozlowski <k.kozlowski@samsung.com> thermal: exynos: Use IS_ERR() because regulator cannot be NULL

The NULL check in probe's error path is not needed because in that time
the regulator cannot be NULL (regulator_get() returns valid pointer or
ERR_PTR).

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>