Re: [PATCH 1/2] OMAP: Kill compile warnings

nishanth menon
2007-05-25T23:23:16Z

Khasim,
On 5/25/07, Syed Mohammed, Khasim <x0khasim@ti.com> wrote:
> Yes, I had a similar discussion with Dirk, he passed me few pointers yesterday, please see through if it helps....
> /* Get the debug Device to omap keypad device */
> - dbg_dev = &(omap_twl4030kp->dev);
> + dbg_dev = omap_twl4030kp->dev.parent;
That would be redundant:
220 /* Get the debug Device */
221 dbg_dev = &(pdev->dev);
already did that for you.. only, now the messages will show
"input:xyz.." instead of "omap_twl4030:xyz"..
Regards,
Nishanth Menon