Re: [PATCHv2 1/2] power: reset: Add generic SYSCON register mapped poweroff.

From: Sebastian Reichel
Date: Wed Mar 11 2015 - 19:49:07 EST


Hi Moritz,

On Wed, Mar 11, 2015 at 03:32:24PM -0700, Moritz Fischer wrote:
> [...]
> +static struct platform_driver syscon_poweroff_driver = {
> + .probe = syscon_poweroff_probe,
> + .remove = syscon_poweroff_remove,
> + .driver = {
> + .name = "syscon-poweroff",
> + .of_match_table = of_match_ptr(syscon_poweroff_of_match),

Sorry if it was unclear from my previous message - of_match_ptr() is
only needed for optional OF support. Since you removed the #ifdef
around syscon_poweroff_of_match, of_match_ptr() is not needed.

> [...]

-- Sebastian

Attachment: signature.asc
Description: Digital signature