[PATCH 1/2] staging: atomisp: simplify the if condition in atomisp_freq_scaling()

Alan Cox alan at linux.intel.com
Thu Mar 30 10:52:44 UTC 2017


On Thu, 2017-03-30 at 15:24 +0900, Daeseok Youn wrote:
> The condition line in if-statement is needed to be shorthen to
> improve readability.
> 
> Signed-off-by: Daeseok Youn <daeseok.youn at gmail.com>
> ---

How about a define for ATOMISP_IS_CHT(isp) instead - as we will need
these tests in other places where there are ISP2400/ISP2401 ifdefs ?

Alan



More information about the devel mailing list