projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7b6bda
)
backlight: omap1: fix checkpatch warning
author
Jingoo Han
<
[email protected]
>
Tue, 18 Dec 2012 00:00:29 +0000
(16:00 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 18 Dec 2012 01:15:15 +0000
(17:15 -0800)
This patch fixes the checkpatch warning as below:
ERROR: inline keyword should sit between storage class and type
Signed-off-by: Jingoo Han <
[email protected]
>
Cc: Richard Purdie <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/omap1_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/omap1_bl.c
b/drivers/video/backlight/omap1_bl.c
index 9a046a4c98f5db8865699f2304c2b50fa83e57e7..af31c269baa69802b6d9584a05ec576000011a09 100644
(file)
--- a/
drivers/video/backlight/omap1_bl.c
+++ b/
drivers/video/backlight/omap1_bl.c
@@
-42,12
+42,12
@@
struct omap_backlight {
struct omap_backlight_config *pdata;
};
-static
void inline
omapbl_send_intensity(int intensity)
+static
inline void
omapbl_send_intensity(int intensity)
{
omap_writeb(intensity, OMAP_PWL_ENABLE);
}
-static
void inline
omapbl_send_enable(int enable)
+static
inline void
omapbl_send_enable(int enable)
{
omap_writeb(enable, OMAP_PWL_CLK_ENABLE);
}