On Wed, Jan 21, 2015 at 2:50 AM, Axel Lin <axel.lin@xxxxxxxxxx> wrote: > Use devm_kstrdup to simplify the error handling path. > Also return -ENOMEM instead of 0 if devm_kstrdup fails. > > Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html