net: emaclite: update reset_lock member documentation
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Wed, 26 Oct 2022 15:15:24 +0000 (20:45 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2022 10:39:57 +0000 (11:39 +0100)
Instead of generic description, mention what reset_lock actually
protects i.e. lock to serialize xmit and tx_timeout execution.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_emaclite.c

index 05848ff..a3967f8 100644 (file)
  * @next_tx_buf_to_use:        next Tx buffer to write to
  * @next_rx_buf_to_use:        next Rx buffer to read from
  * @base_addr:         base address of the Emaclite device
- * @reset_lock:                lock used for synchronization
+ * @reset_lock:                lock to serialize xmit and tx_timeout execution
  * @deferred_skb:      holds an skb (for transmission at a later time) when the
  *                     Tx buffer is not free
  * @phy_dev:           pointer to the PHY device