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 fields to avoid warnings

Kernel documentation has to be synchronized with a code, otherwise
the validator is not happy:

Function parameter or member 'usb_propval' not described in 'extcon_cable'
Function parameter or member 'chg_propval' not described in 'extcon_cable'
Function parameter or member 'jack_propval' not described in 'extcon_cable'
Function parameter or member 'disp_propval' not described in 'extcon_cable'

Describe the fields added in the past.

Fixes: 067c1652e7a7 ("extcon: Add the support for extcon property according to extcon type")
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
7e77e0b7 65acf9c6

+4
+4
drivers/extcon/extcon.c
··· 206 206 * @attr_name: "name" sysfs entry 207 207 * @attr_state: "state" sysfs entry 208 208 * @attrs: the array pointing to attr_name and attr_state for attr_g 209 + * @usb_propval: the array of USB connector properties 210 + * @chg_propval: the array of charger connector properties 211 + * @jack_propval: the array of jack connector properties 212 + * @disp_propval: the array of display connector properties 209 213 */ 210 214 struct extcon_cable { 211 215 struct extcon_dev *edev;