diff options
author | Alex Elder <elder@linaro.org> | 2014-09-22 18:53:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-09-22 17:32:08 -0700 |
commit | 69f93abf1181082c7a3dfa24b2ba4a2933ce2c1c (patch) | |
tree | 2d88c5cfef9bec811d491fcb7447de393f6a66f1 /drivers/staging/greybus/debugfs.c | |
parent | be5064c75bb9e513698142584f4bb64de73e9f18 (diff) | |
download | op-kernel-dev-69f93abf1181082c7a3dfa24b2ba4a2933ce2c1c.zip op-kernel-dev-69f93abf1181082c7a3dfa24b2ba4a2933ce2c1c.tar.gz |
greybus: simple fixes
A few silly little fixes.
- Clear out some unnecessary #includes in "debugfs.c"
- Drop some unneeded parentheses in hd_to_es1()
- Use &hd->hd_priv in hd_to_es1() to emphasize we are working
with an embedded array, not a pointer
- Fix a comment in the header for ap_probe()
- Drop a duplicate #include in "gpio-gb.c"
- Fix a use-before-set problem in set_serial_info()
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/debugfs.c')
-rw-r--r-- | drivers/staging/greybus/debugfs.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/debugfs.c b/drivers/staging/greybus/debugfs.c index 4e313f1..ef292f4 100644 --- a/drivers/staging/greybus/debugfs.c +++ b/drivers/staging/greybus/debugfs.c @@ -8,11 +8,6 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#include <linux/types.h> -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/kernel.h> -#include <linux/device.h> #include <linux/debugfs.h> #include "greybus.h" |