Messages in this thread | | | From | Christian Gmeiner <> | Date | Tue, 12 Jun 2012 09:50:10 +0200 | Subject | Re: [PATCH v2 2/3][RESEND] backlight: ot200_bl: use devm_ functions |
| |
2012/6/12 Axel Lin <axel.lin@gmail.com>: >> error_mfgpt_alloc: >> gpio_free(GPIO_DIMM); > > You can also use devm_gpio_request, so you can remove gpio_free here > and remove the gpio_free in ot200_backlight_remove().
nice catch -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |