[PATCH] pinctrl: sirf: Use common error handling code in sirfsoc_dt_node_to_map()

Dan Carpenter dan.carpenter at oracle.com
Wed Nov 1 03:33:35 PDT 2017


Really, the of_node_put() is connected to the loop and not the function
so the original code is the right way to do it.  Otherwise if we added
more error handling to the function then normal kernel error handling
wouldn't work naturally.

regards,
dan carpenter




More information about the linux-arm-kernel mailing list