[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160105174114.GI6588@sirena.org.uk>
Date: Tue, 5 Jan 2016 17:41:14 +0000
From: Mark Brown <broonie@...nel.org>
To: Laxman Dewangan <ldewangan@...dia.com>
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
swarren@...dotorg.org
Subject: Re: [PATCH 1/2] regmap: irq: add support for configuration of
trigger type
On Tue, Dec 22, 2015 at 06:25:26PM +0530, Laxman Dewangan wrote:
> + d->type_reg_stride = chip->type_reg_stride ? : 1;
> +
Please don't abuse the ternery operator, especially not the GCC
extension - that's much less clear than just writing the if statement.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists