RE: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip
Date: Fri Mar 18 2011 - 12:43:46 EST
>> + free_irq(client->irq, info);
>> + kfree(info->buf);
>> + kfree(info);
>> + dev_info(&client->dev, "Not probed.");
>> + return ret;
>When respinning, you could consider using managed devices
>(devm_*); this error path could completely go then.
Well, to be honest I did't know about that 'feature' :), but now I see it's pretty nice. Will start to use it.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/