The patch titled w1-gpio: add GPIO w1 bus master driver has been added to the -mm tree. Its filename is w1-gpio-add-gpio-w1-bus-master-driver-v3.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: w1-gpio: add GPIO w1 bus master driver From: Ville Syrjala <syrjala@xxxxxx> Changes from version 2 to version 3: * Use platform_driver_probe() instead of platform_driver_register(). * Remove useless address operators from function pointer assignments. Signed-off-by: Ville Syrjala <syrjala@xxxxxx> Cc: Evgeniy Polyakov <johnpol@xxxxxxxxxxx> Cc: David Brownell <david-b@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/w1/masters/w1-gpio.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff -puN drivers/w1/masters/w1-gpio.c~w1-gpio-add-gpio-w1-bus-master-driver-v3 drivers/w1/masters/w1-gpio.c --- a/drivers/w1/masters/w1-gpio.c~w1-gpio-add-gpio-w1-bus-master-driver-v3 +++ a/drivers/w1/masters/w1-gpio.c @@ -60,14 +60,14 @@ static int __init w1_gpio_probe(struct p goto free_master; master->data = pdata; - master->read_bit = &w1_gpio_read_bit; + master->read_bit = w1_gpio_read_bit; if (pdata->is_open_drain) { gpio_direction_output(pdata->pin, 1); - master->write_bit = &w1_gpio_write_bit_val; + master->write_bit = w1_gpio_write_bit_val; } else { gpio_direction_input(pdata->pin); - master->write_bit = &w1_gpio_write_bit_dir; + master->write_bit = w1_gpio_write_bit_dir; } err = w1_add_master_device(master); @@ -103,13 +103,12 @@ static struct platform_driver w1_gpio_dr .name = "w1-gpio", .owner = THIS_MODULE, }, - .probe = w1_gpio_probe, .remove = __exit_p(w1_gpio_remove), }; static int __init w1_gpio_init(void) { - return platform_driver_register(&w1_gpio_driver); + return platform_driver_probe(&w1_gpio_driver, w1_gpio_probe); } static void __exit w1_gpio_exit(void) _ Patches currently in -mm which might be from syrjala@xxxxxx are git-alsa.patch w1-gpio-add-gpio-w1-bus-master-driver.patch w1-gpio-add-gpio-w1-bus-master-driver-v3.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html