commit | 80b4037033c2dae31e73810d506ce93b3783be05 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed May 11 20:39:05 2011 +0800 |
committer | Grant Likely <grant.likely@secretlab.ca> | Thu May 26 21:30:25 2011 -0600 |
tree | 783fd060fd7fde5e26f655e183cf99405aab51a1 | |
parent | bc9bc72e2f9bb07384c00604d1a40d0b5f62be6c [diff] |
spi/tle620x: add missing device_remove_file() This patch includes below fixes: 1. Add missing device_remove_file for dev_attr_status_show in tle62x0_remove. 2. Fix tle62x0_probe error handling: Currently, if the error happens when ptr > 0, gpio_attrs[0] is not properly remove. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>