On Wed, 10 Dec 2014, Steffen Trumtrar wrote: > > +static inline void altera_fpga_reg_set_bitsl(struct altera_fpga_priv *priv, > > + u32 offset, u32 bits) > > +{ > > + u32 val; > > + > > + val = altera_fpga_reg_readl(priv, offset); > > + val |= bits; > > + altera_fpga_reg_writel(priv, offset, val); > > +} > > + > > +static inline void altera_fpga_reg_clr_bitsl(struct altera_fpga_priv *priv, > > + u32 offset, u32 bits) > > +{ > > + u32 val; > > + > > + val = altera_fpga_reg_readl(priv, offset); > > + val &= ~bits; > > + altera_fpga_reg_writel(priv, offset, val); > > +} > > + > > Why do you need these? Can't you just use regmap_mmio? I would like to do that as an improvement as time allows, not now. > > + ret = request_irq(priv->irq, altera_fpga_isr, 0, "altera-fpga-mgr", > > + priv); > > + if (ret < 0) > > + goto err_dispose_irq; > > devm_request_irq Will do, thanks. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html