Converting to dev_pm_ops (remove annoying warnings)

From: Ben Dooks
Date: Tue Jul 28 2009 - 06:44:47 EST


I have a couple of questions about changing drivers to use the
dev_pm_ops method within drivers using the device driver model.

1) Should the suspend/resume code still be wrapped in #ifdef CONFIG_PM
and supply a NULL 'struct dev_pm_ops' wen CONFIG_PM=n

2) Is it allowable to submit changes to move drivers to dev_pm_ops
during the -rc phase, or do we have to wait for the merge window
before sending these? The number of warnings on a system that
relies heavily on platform devices is annoying (S3C24XX ARM).

--
Ben (ben@xxxxxxxxx, http://www.fluff.org/)

'a smiley only costs 4 bytes'
--
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/