Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: ceaa98f442cf ("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>

authored by

Andy Shevchenko and committed by
Chanwoo Choi
73346b99 7e77e0b7

+4
+4
drivers/extcon/extcon.c
··· 210 210 * @chg_propval: the array of charger connector properties 211 211 * @jack_propval: the array of jack connector properties 212 212 * @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 213 217 */ 214 218 struct extcon_cable { 215 219 struct extcon_dev *edev;