diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-10-26 10:05:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 11:04:57 +0300 |
commit | e3a3f9f5123683bc87ce70189c9912a15b76b91b (patch) | |
tree | b19fe2a08a3f58c54323fe56699baffdf0c19df0 /drivers/staging/sm750fb/sm750.h | |
parent | 6732071c259f79623219126c6e40f7c13a551287 (diff) | |
download | linux-e3a3f9f5123683bc87ce70189c9912a15b76b91b.tar.xz |
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.h | 2 |
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; |