hsi: fix kernel-doc warnings

Fix kernel-doc warnings in hsi files:

  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
  Warning(drivers/hsi/hsi.c:434): No description found for parameter 'handler'
  Warning(drivers/hsi/hsi.c:434): Excess function parameter 'cb' description in 'hsi_register_port_event'

Don't document "private:" fields with kernel-doc notation.
If you want to leave them fully documented, that's OK, but
then don't mark them as "private:".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Carlos Chinea <carlos.chinea@nokia.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Randy Dunlap 2013-03-01 11:11:47 -08:00 committed by Linus Torvalds
parent cc73dc04c7
commit 8eae508b7c
2 changed files with 4 additions and 4 deletions

View File

@ -420,7 +420,7 @@ static int hsi_event_notifier_call(struct notifier_block *nb,
/** /**
* hsi_register_port_event - Register a client to receive port events * hsi_register_port_event - Register a client to receive port events
* @cl: HSI client that wants to receive port events * @cl: HSI client that wants to receive port events
* @cb: Event handler callback * @handler: Event handler callback
* *
* Clients should register a callback to be able to receive * Clients should register a callback to be able to receive
* events from the ports. Registration should happen after * events from the ports. Registration should happen after

View File

@ -121,9 +121,9 @@ static inline int hsi_register_board_info(struct hsi_board_info const *info,
* @device: Driver model representation of the device * @device: Driver model representation of the device
* @tx_cfg: HSI TX configuration * @tx_cfg: HSI TX configuration
* @rx_cfg: HSI RX configuration * @rx_cfg: HSI RX configuration
* @e_handler: Callback for handling port events (RX Wake High/Low) * e_handler: Callback for handling port events (RX Wake High/Low)
* @pclaimed: Keeps tracks if the clients claimed its associated HSI port * pclaimed: Keeps tracks if the clients claimed its associated HSI port
* @nb: Notifier block for port events * nb: Notifier block for port events
*/ */
struct hsi_client { struct hsi_client {
struct device device; struct device device;