From: Axel Lin Date: Wed, 11 May 2011 12:39:05 +0000 (+0800) Subject: spi/tle620x: add missing device_remove_file() X-Git-Tag: v3.0-rc1~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b4037033c2dae31e73810d506ce93b3783be05;p=pandora-kernel.git 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 Acked-by: Ben Dooks Signed-off-by: Grant Likely --- Reading git-diff-tree failed