summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/sm750.h
diff options
context:
space:
mode:
authorMike Rapoport2015-10-26 08:05:52 +0100
committerGreg Kroah-Hartman2015-10-27 09:04:57 +0100
commite3a3f9f5123683bc87ce70189c9912a15b76b91b (patch)
treeb19fe2a08a3f58c54323fe56699baffdf0c19df0 /drivers/staging/sm750fb/sm750.h
parentstaging: sm750fb: remove unused SPC_SM750 define (diff)
downloadkernel-qcow2-linux-e3a3f9f5123683bc87ce70189c9912a15b76b91b.tar.gz
kernel-qcow2-linux-e3a3f9f5123683bc87ce70189c9912a15b76b91b.tar.xz
kernel-qcow2-linux-e3a3f9f5123683bc87ce70189c9912a15b76b91b.zip
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;