Skip to contentSkip to conversation

linux-next: manual merge of the driver-core tree with the pm tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 10, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

Today's linux-next merge of the driver-core tree got a conflict in drivers/input/keyboard/gpio_keys_polled.c between commit b26d4e2283b6 ("input: gpio_keys_polled: Make use of device property API") from the pm tree and commit 1d05726c315c ("input: keyboard: drop owner assignment from platform_drivers") from the driver-core tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 17 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc drivers/input/keyboard/gpio_keys_polled.c
index c9c1c8ca7267,10f0098f3c77..000000000000
--- a/drivers/input/keyboard/gpio_keys_polled.c
+++ b/drivers/input/keyboard/gpio_keys_polled.c
@@@ -297,8 -307,7 +297,7 @@@ static struct platform_driver gpio_keys
  	.probe	= gpio_keys_polled_probe,
  	.driver	= {
  		.name	= DRV_NAME,
- 		.owner	= THIS_MODULE,
 -		.of_match_table = of_match_ptr(gpio_keys_polled_of_match),
 +		.of_match_table = gpio_keys_polled_of_match,
  	},
  };
  module_platform_driver(gpio_keys_polled_driver);
#1 lore raw
Quoted 20 lines · Stephen Rothwell

Hi Greg,

Today's linux-next merge of the driver-core tree got a conflict in drivers/input/keyboard/gpio_keys_polled.c between commit b26d4e2283b6 ("input: gpio_keys_polled: Make use of device property API") from the pm tree and commit 1d05726c315c ("input: keyboard: drop owner assignment from platform_drivers") from the driver-core tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
drivers/input/keyboard/gpio_keys_polled.c +0 -0
diff --cc drivers/input/keyboard/gpio_keys_polled.c
index c9c1c8ca7267,10f0098f3c77..000000000000

drivers/input/keyboard/gpio_keys_polled.c

Quoted 9 lines
drivers/input/keyboard/gpio_keys_polled.c +0 -1
@@@ -297,8 -307,7 +297,7 @@@ static struct platform_driver gpio_keys
  	.probe	= gpio_keys_polled_probe,
  	.driver	= {
  		.name	= DRV_NAME,
- 		.owner	= THIS_MODULE,
 -		.of_match_table = of_match_ptr(gpio_keys_polled_of_match),
 +		.of_match_table = gpio_keys_polled_of_match,
  	},
  };
  module_platform_driver(gpio_keys_polled_driver);

Looks good, thanks.

greg k-h