[PATCHv3 03/35] ARM: OMAP2+: PRM: add generic API for clear_mod_irqs
Felipe Balbi
balbi at ti.com
Wed Feb 25 11:08:04 PST 2015
Hi,
On Wed, Feb 25, 2015 at 09:04:13PM +0200, Tero Kristo wrote:
> +int omap_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask)
> +{
> + if (!prm_ll_data->clear_mod_irqs) {
> + WARN_ONCE(1, "prm: %s: no mapping function defined\n",
> + __func__);
you can combine these:
if (WARN_ONCE(!prm_ll_data->clear_mod_irqs,
"prm: %s: no mapping function defined\n",
__func__))
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150225/f8f94d16/attachment.sig>
More information about the linux-arm-kernel
mailing list