Re: [PATCH 1/2] staging: atomisp: simplify the if condition in atomisp_freq_scaling()
From: Alan Cox
Date: Thu Mar 30 2017 - 06:52:55 EST
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@xxxxxxxxx>
> ---
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