Skip to content

Commit

Permalink
mei: fix kdoc in the driver
Browse files Browse the repository at this point in the history
Over time the functions were renamed,
but this was not always reflected in kdoc, fix that.

Signed-off-by: Tamar Mashiah <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
tmashiah authored and gregkh committed Jun 22, 2021
1 parent 8254ee0 commit 09f8c33
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion drivers/misc/mei/bus-fixup.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static struct mei_fixup {
};

/**
* mei_cldev_fixup - run fixup handlers
* mei_cl_bus_dev_fixup - run fixup handlers
*
* @cldev: me client device
*/
Expand Down
6 changes: 3 additions & 3 deletions drivers/misc/mei/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ void mei_io_cb_free(struct mei_cl_cb *cb)
}

/**
* mei_tx_cb_queue - queue tx callback
* mei_tx_cb_enqueue - queue tx callback
*
* Locking: called under "dev->device_lock" lock
*
Expand Down Expand Up @@ -2250,7 +2250,7 @@ static void mei_cl_dma_free(struct mei_cl *cl)
}

/**
* mei_cl_alloc_and_map - send client dma map request
* mei_cl_dma_alloc_and_map - send client dma map request
*
* @cl: host client
* @fp: pointer to file structure
Expand Down Expand Up @@ -2349,7 +2349,7 @@ int mei_cl_dma_alloc_and_map(struct mei_cl *cl, const struct file *fp,
}

/**
* mei_cl_unmap_and_free - send client dma unmap request
* mei_cl_dma_unmap - send client dma unmap request
*
* @cl: host client
* @fp: pointer to file structure
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/hbm.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ static int mei_hbm_add_single_tx_flow_ctrl_creds(struct mei_device *dev,
}

/**
* mei_hbm_cl_flow_control_res - flow control response from me
* mei_hbm_cl_tx_flow_ctrl_creds_res - flow control response from me
*
* @dev: the device structure
* @fctrl: flow control response bus message
Expand Down
4 changes: 2 additions & 2 deletions drivers/misc/mei/hw-me.c
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ static bool mei_me_fw_type_nm(const struct pci_dev *pdev)
.quirk_probe = mei_me_fw_type_nm

/**
* mei_me_fw_sku_sps_4() - check for sps 4.0 sku
* mei_me_fw_type_sps_4() - check for sps 4.0 sku
*
* Read ME FW Status register to check for SPS Firmware.
* The SPS FW is only signaled in the PCI function 0.
Expand All @@ -1405,7 +1405,7 @@ static bool mei_me_fw_type_sps_4(const struct pci_dev *pdev)
.quirk_probe = mei_me_fw_type_sps_4

/**
* mei_me_fw_sku_sps() - check for sps sku
* mei_me_fw_type_sps() - check for sps sku
*
* Read ME FW Status register to check for SPS Firmware.
* The SPS FW is only signaled in pci function 0
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static inline bool mei_ext_last(struct mei_ext_meta_hdr *meta,
}

/**
*mei_ext_next - following extended header on the TLV list
* mei_ext_next - following extended header on the TLV list
*
* @ext: current extend header
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ static ssize_t dev_state_show(struct device *device,
static DEVICE_ATTR_RO(dev_state);

/**
* dev_set_devstate: set to new device state and notify sysfs file.
* mei_set_devstate: set to new device state and notify sysfs file.
*
* @dev: mei_device
* @state: new device state
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/pci-txe.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static int mei_txe_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
}

/**
* mei_txe_remove - Device Shutdown Routine
* mei_txe_shutdown- Device Shutdown Routine
*
* @pdev: PCI device structure
*
Expand Down
4 changes: 2 additions & 2 deletions drivers/watchdog/mei_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct mei_mc_hdr {
};

/**
* struct mei_wdt_start_request watchdog start/ping
* struct mei_wdt_start_request - watchdog start/ping
*
* @hdr: Management Control Command Header
* @timeout: timeout value
Expand All @@ -134,7 +134,7 @@ struct mei_wdt_start_request {
} __packed;

/**
* struct mei_wdt_start_response watchdog start/ping response
* struct mei_wdt_start_response - watchdog start/ping response
*
* @hdr: Management Control Command Header
* @status: operation status
Expand Down

0 comments on commit 09f8c33

Please sign in to comment.