Re: [PATCH] Input: bfin_rotary - mark suspend and resume code as __maybe_unused

From: Geert Uytterhoeven
Date: Fri Feb 06 2015 - 10:41:09 EST


On Fri, Feb 6, 2015 at 10:06 AM, Sonic Zhang <sonic.adi@xxxxxxxxx> wrote:
>> static struct platform_driver bfin_rotary_device_driver = {
>> .probe = bfin_rotary_probe,
>> .remove = bfin_rotary_remove,
>> .driver = {
>> .name = "bfin-rotary",
>
> You missed
> .owner = THIS_MODULE,
> here.

That line was removed in v3.19-rc1 by commit 776bd315a7721574
("input: misc: drop owner assignment from platform_drivers").

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/