On Wed, Nov 21, 2012 at 07:21:11PM +0100, Guennadi Liakhovetski wrote: > + if (!pdata) { > + dev_err(&pdev->dev, "No platform data, exiting...\n"); > + return -ENODEV; > + }
There's no reason to require platform data, the driver can still support readback of the current device state for diagnostic purposes with no configuration.
signature.asc
Description: Digital signature