From: Arthur Jones Date: Fri, 25 Jul 2008 08:49:08 +0000 (-0700) Subject: edac: i5100: cleanup X-Git-Tag: v2.6.27-rc1~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b238e57723a6fb2c365fc35de5d7c48ccf9300cd;p=pandora-kernel.git edac: i5100: cleanup Some code cleanliness issues found by Andrew Morton (thanks!) which should not affect functionality, but which should help make the code more maintainable. In particular, we now: * convert all #define's w/ a parameter to static inlines * use 1UL rather than 1ULL when calculating an unsigned long * use pci_disable_device The resulting code is tested and seems to work fine... Signed-off-by: Arthur Jones Cc: Doug Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed