Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1301756
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] regmap: irq: add support for configuration of trigger type |
| Date | 2016-01-05 18:50 +0100 |
| Message-ID | <qNDU7-65D-43@gated-at.bofh.it> (permalink) |
| References | <qIuRs-4nK-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 1/2] regmap: irq: add support for configuration of trigger type Mark Brown <broonie@kernel.org> - 2016-01-05 18:50 +0100 Re: [PATCH 1/2] regmap: irq: add support for configuration of trigger type Laxman Dewangan <ldewangan@nvidia.com> - 2016-01-06 07:00 +0100
csiph-web