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

Attachment: signature.asc
Description: Digital signature

Reply via email to