Re: [PATCH 1/2] mfd: rtsx: fix PM suspend for 5227

From: micky
Date: Fri Sep 12 2014 - 06:18:15 EST


On 09/12/2014 04:36 PM, Dan Carpenter wrote:
You've updated them all to be "if (err < 0)" how is that different from
"if (err)"? What I'm saying is that could you reply to the question?

I guess I normally prefer "if (err)" over "if (err < 0)" but I don't
know if it makes a difference here?
Hi Dan,

these function never return positive value, but other part of the driver code
use (err < 0), I use (err < 0) here for consistency.

(err) and (err < 0) is same at least for these function called here.

Best Regards.
micky.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/