From: Clemens Ladisch Date: Thu, 24 Dec 2009 10:59:57 +0000 (+0100) Subject: firewire: add fw_csr_string() helper function X-Git-Tag: v2.6.34-rc1~219^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f8fef7b3388b5a976e80839679b5bae581a1091;p=pandora-kernel.git firewire: add fw_csr_string() helper function The core (sysfs attributes), the firedtv driver, and possible future drivers all read strings from some configuration ROM directory. Factor out the generic code from show_text_leaf() into a new helper function, modified slightly to handle arbitrary buffer sizes. Signed-off-by: Clemens Ladisch Signed-off-by: Stefan Richter --- Reading git-diff-tree failed