[PATCH 1/4] iio: max1363: Use devm_ functions whereever possible to allocate resources

Guenter Roeck linux at roeck-us.net
Mon Feb 4 04:18:52 EST 2013


On Sun, Feb 03, 2013 at 12:10:32PM +0000, Jonathan Cameron wrote:
> On 02/03/2013 12:59 AM, Guenter Roeck wrote:
> > Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> Applied to togreg branch of iio.git.
> 
> Note I'll probably rebase the togreg branch if / when Greg has pulled
> last pull request (sent a few mins ago) so as to get a directly
> applied fix for this driver.
> 
No problem.

There is some dead code in the max1363 driver.

drivers/iio/adc/max1363.c:1492:12: warning: 'max1363_register_buffered_funcs_and_init' defined but not used [-Wunused-function]
drivers/iio/adc/max1363.c:1527:13: warning: 'max1363_buffer_cleanup' defined but not used [-Wunused-function]

I thought I had seen a note on the iio mailing list that you wanted to submit a patch for it,
but I didn't see it yet. Or maybe my memory is wrong, or you were talking about
something else.

Want me to submit a patch (assuming the fix is simply to remove the above functions) ?

Thanks,
Guenter


More information about the devicetree-discuss mailing list