[PATCH 1/2] input/of_keymap: Convert kzalloc to devm_kzalloc derivative
spear devel
spear.devel at st.com
Tue Mar 27 15:18:20 EST 2012
On 3/26/2012 9:25 PM, Dmitry Torokhov wrote:
> Actually I want to change the interface so that we could do something
> like:
>
> if (pdata->keymap) {
> matrix_keypad_build_keymap(...)
> } else {
> error = matrix_keypad_build_of_keymap();
> if (error)
> goto blah;
> }
I would implement this and send V2.
--
viresh
More information about the devicetree-discuss
mailing list