On Tue, Apr 16, 2013 at 08:04:52PM +0200, Sylwester Nawrocki wrote: > It's probably more clean to provide a dummy clock/regulator in a host driver > (platform) than to add something in a sub-device drivers that would resolve > which resources should be requested and which not. Yes, that's the general theory for regulators at least - it allows the device driver to just trundle along and not worry about how the board is hooked up. The other issue it resolves that you didn't mention is that it avoids just ignoring errors which isn't terribly clever.
Attachment:
signature.asc
Description: Digital signature