On Thu, May 30, 2013 at 10:03 AM, Nikolay Balandin <nbalan...@dev.rtsoft.ru> wrote:
> Yes, this accelerometer is present on the Kontron SMARC evaluation > carrier. > http://emea.kontron.com/products/computeronmodules/smarc/smarc+evaluation+carrier.html Good. I think you may do following things: - update lis3lv02d.c to use devm_* functions - and then update i2c driver to use devm_* Are you going to support that platform via DeviceTree model? > On Wed, May 29, 2013 at 2:45 PM, Nikolay Balandin > <n.a.balan...@gmail.com> wrote: > Use devm_regulator_bulk_get to make cleanup paths simpler > > Do you plan to use this driver somewhere outside of Nokia n900 device? > If so, there is more than this clean up to do. > > Otherwise I don't think we have to touch that driver at all. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/