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>