mfd: twl: Clean up errors in twl.h
PATCH 1/1 mfd: twl: Clean up errors in twl.h
Fix the following errors reported by checkpatch:
ERROR: space prohibited after that open parenthesis '('
ERROR: open brace '{' following function definitions go on the next line
Signed-off-by chenxuebing <[email protected]>
--- include/linux/mfd/mcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mfd/mcp.h +1 -1
@@ -53,7 +53,7 @@ int mcp_driver_register(struct mcp_driver *);void mcp_driver_unregister (struct mcp_driver *);#define mcp_get_drvdata (mcp) dev_get_drvdata(&(mcp)->attached_device) -#define mcp_set_drvdata (mcp,d) dev_set_drvdata(&(mcp)->attached_device, d) +#define mcp_set_drvdata (mcp, d) dev_set_drvdata(&(mcp)->attached_device, d)static inline void *mcp_priv (struct mcp *mcp) {
Signature · 1 line
2.17.1
Lee Jones
maintainerThe subject needs to be improved.
Succinctly explain what you're doing.
Quoted 6 lines · chenxuebing
Fix the following errors reported by checkpatch:
ERROR: space prohibited after that open parenthesis '('
ERROR: open brace '{' following function definitions go on the next lineSigned-off-by chenxuebing <[email protected]>
Is this your first or last name, or both?
Quoted 9 lines
--- include/linux/mfd/mcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/mfd/mcp.h +0
-0
include/linux/mfd/mcp.h int mcp_driver_register(struct mcp_driver *); · line 56
Quoted 5 lines
include/linux/mfd/mcp.h +1
-1@@ -53,7 +53,7 @@ int mcp_driver_register(struct mcp_driver *);void mcp_driver_unregister (struct mcp_driver *);#define mcp_get_drvdata (mcp) dev_get_drvdata(&(mcp)->attached_device) -#define mcp_set_drvdata (mcp,d) dev_set_drvdata(&(mcp)->attached_device, d) +#define mcp_set_drvdata (mcp, d) dev_set_drvdata(&(mcp)->attached_device, d)
The code is fine, obviously.
Quoted 5 lines
include/linux/mfd/mcp.h +0
-0static inline void *mcp_priv (struct mcp *mcp) {Signature · 1 line
2.17.1
Signature · 1 line
Lee Jones [李琼斯]