summaryrefslogtreecommitdiff
path: root/drivers/staging/sm750fb/sm750.h
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2015-10-26 09:05:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 17:04:57 +0900
commite3a3f9f5123683bc87ce70189c9912a15b76b91b (patch)
treeb19fe2a08a3f58c54323fe56699baffdf0c19df0 /drivers/staging/sm750fb/sm750.h
parent6732071c259f79623219126c6e40f7c13a551287 (diff)
staging: sm750fb: replace PADDING macro with ALIGN
The custom macro PADDING differs from standard kernel ALIGN only in parameters order. Replace PADDING with ALIGN and remove it's definition. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.h')
-rw-r--r--drivers/staging/sm750fb/sm750.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 2a785cafe1dd..81e856e4b63f 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -6,8 +6,6 @@
#define FB_ACCEL_SMI 0xab
#define MHZ(x) ((x) * 1000000)
-/* align should be 2,4,8,16 */
-#define PADDING(align, data) (((data)+(align)-1)&(~((align) - 1)))
extern int smi_indent;