From: Dimitris Papastamos Date: Thu, 7 Feb 2013 10:51:56 +0000 (+0000) Subject: regmap: debugfs: Fix reading in register field units X-Git-Tag: v3.9-rc1~155^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3eb83994cb4c172ce5028b5ae7ea08462cc3f1d;p=pandora-kernel.git regmap: debugfs: Fix reading in register field units At the moment, if the length of the register field format is N bytes, we can only get anything meaningful back to userspace by providing a buffer that is N + 2 bytes large. Fix this so we that we only need to provide a buffer of N bytes. Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed