Re: [PATCH] fpga: zynq-fpga: Avoid hammering clk_{enable/disable}.

From: Moritz Fischer
Date: Tue Nov 17 2015 - 13:08:20 EST


Michal,

On Tue, Nov 17, 2015 at 9:53 AM, Michal Simek <michal.simek@xxxxxxxxxx> wrote:

>> +#ifdef CONFIG_PM
>
> remove this

Will do.
>
>> +static int zynq_fpga_runtime_suspend(struct device *dev)
>
> add __maybe_unused here

Will do.

>> +static int zynq_fpga_runtime_resume(struct device *dev)
>
> and here

Will do.

>> +}
>> +
>> +#endif
>
> and remove this.

Will do.

> Body has nothing specific what it is available only for CONFIG_PM that's
> why it should just work.

You're right. I'll resubmit once other people took another look. Not
high priority ;-)

Cheers,

Moritz
--
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/