Skip to content

Commit 73346b9

Browse files
andy-shevchanwoochoi
authored andcommitted
extcon: Fix kernel doc of property capability fields to avoid warnings
Kernel documentation has to be synchronized with a code, otherwise the validator is not happy: Function parameter or member 'usb_bits' not described in 'extcon_cable' Function parameter or member 'chg_bits' not described in 'extcon_cable' Function parameter or member 'jack_bits' not described in 'extcon_cable' Function parameter or member 'disp_bits' not described in 'extcon_cable' Describe the fields added in the past. Fixes: ceaa98f ("extcon: Add the support for the capability of each property") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
1 parent 7e77e0b commit 73346b9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/extcon/extcon.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ static const struct __extcon_info {
210210
* @chg_propval: the array of charger connector properties
211211
* @jack_propval: the array of jack connector properties
212212
* @disp_propval: the array of display connector properties
213+
* @usb_bits: the bit array of the USB connector property capabilities
214+
* @chg_bits: the bit array of the charger connector property capabilities
215+
* @jack_bits: the bit array of the jack connector property capabilities
216+
* @disp_bits: the bit array of the display connector property capabilities
213217
*/
214218
struct extcon_cable {
215219
struct extcon_dev *edev;

0 commit comments

Comments
 (0)