commit | 16a48f55dbc57b864614beec934bd61776695963 | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <ley.foon.tan@intel.com> | Wed Sep 19 16:26:33 2018 +0800 |
committer | Marek Vasut <marex@denx.de> | Wed Oct 03 12:56:50 2018 +0200 |
tree | b6f0e5e53aacb0b92fd90e9a374f5ea49c618651 | |
parent | ac3de9043d8f5715f45fba4e8511766fcb46aa1e [diff] |
gpio: dwapb_gpio: Change to use devm_kcalloc() Change to use managed resource function devm_kcalloc(), so it will auto free memory when driver is removed. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>