Commit 4d12a897 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

bus: mhi: fix doubled words and struct image_info kernel-doc

Drop doubled word "table" in kernel-doc.
Fix syntax for the kernel-doc notation for struct image_info.
Note that the bhi_vec field is private and not part of the kernel-doc.

Drop doubled word "device" in a comment.

Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Hemant Kumar <hemantk@codeaurora.org>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[mani: Added bus: prefix to the commit subject]
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200929175218.8178-2-manivannan.sadhasivam@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4cb1a880
...@@ -85,13 +85,15 @@ enum mhi_ch_type { ...@@ -85,13 +85,15 @@ enum mhi_ch_type {
}; };
/** /**
* struct image_info - Firmware and RDDM table table * struct image_info - Firmware and RDDM table
* @mhi_buf - Buffer for firmware and RDDM table * @mhi_buf: Buffer for firmware and RDDM table
* @entries - # of entries in table * @entries: # of entries in table
*/ */
struct image_info { struct image_info {
struct mhi_buf *mhi_buf; struct mhi_buf *mhi_buf;
/* private: from internal.h */
struct bhi_vec_entry *bhi_vec; struct bhi_vec_entry *bhi_vec;
/* public: */
u32 entries; u32 entries;
}; };
...@@ -593,7 +595,7 @@ int mhi_async_power_up(struct mhi_controller *mhi_cntrl); ...@@ -593,7 +595,7 @@ int mhi_async_power_up(struct mhi_controller *mhi_cntrl);
/** /**
* mhi_sync_power_up - Start MHI power up sequence and wait till the device * mhi_sync_power_up - Start MHI power up sequence and wait till the device
* device enters valid EE state * enters valid EE state
* @mhi_cntrl: MHI controller * @mhi_cntrl: MHI controller
*/ */
int mhi_sync_power_up(struct mhi_controller *mhi_cntrl); int mhi_sync_power_up(struct mhi_controller *mhi_cntrl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment