Hi Fabio, On Thu, Aug 07, 2014 at 01:40:57AM -0300, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> > > There is no need to first get a platform_device structure in the suspend/resume > functions. > > Make the code simpler by calling dev_get_drvdata() directly. I actually believe that we should be using the proper accessors fro the type. The fact that they resolve to the same data object is implementation detail, as far as I am concerned (unless driver core folks want to deprecate or get rid of everything but dev_{get|set}_drvdata()). Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html