From: Ben Hutchings Date: Fri, 14 Sep 2012 16:30:44 +0000 (+0100) Subject: sfc: Rationalise MCDI buffer accessors X-Git-Tag: v3.12-rc1~132^2~190^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30af691066dccba9d5e44c6656030faec25458be;p=pandora-kernel.git sfc: Rationalise MCDI buffer accessors Add _MCDI_DWORD() which yields an lvalue for the given dword field and change MCDI_DWORD(), MCDI_SET_DWORD() and MCDI_QWORD() to use it. Fold the rather trivial MCDI_PTR2() into MCDI_PTR() and _MCDI_DWORD(). Remove MCDI_SET_DWORD2() and MCDI_QWORD2(). MCDI_DWORD2() should also go, but it still has one user which we'll get rid of later. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed