greybus: simple fixes
authorAlex Elder <elder@linaro.org>
Mon, 22 Sep 2014 23:53:02 +0000 (18:53 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 23 Sep 2014 00:32:08 +0000 (17:32 -0700)
commit69f93abf1181082c7a3dfa24b2ba4a2933ce2c1c
tree2d88c5cfef9bec811d491fcb7447de393f6a66f1
parentbe5064c75bb9e513698142584f4bb64de73e9f18
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>
drivers/staging/greybus/debugfs.c
drivers/staging/greybus/es1-ap-usb.c
drivers/staging/greybus/gpio-gb.c
drivers/staging/greybus/uart-gb.c