From nobody Mon Apr 13 08:00:55 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E13C5C6FD1F for ; Wed, 22 Mar 2023 14:39:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231593AbjCVOja (ORCPT ); Wed, 22 Mar 2023 10:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbjCVOjX (ORCPT ); Wed, 22 Mar 2023 10:39:23 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD70F3347A for ; Wed, 22 Mar 2023 07:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679495962; x=1711031962; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TkCkoVN5YuqKJoNk1l2F8kUlVp9keQi4zBudYIi2MhU=; b=UF41KvIoEY+0kbZSVUk9o+T37X/265H7/9qNZVmrYUc0iKbgBJGQkVrY 1d05wjUWEr5RZsReD3/n7YFd2Ol1H13KryT3/qR/ltGtQHOQiCb1ADeaV /qMdSGokGr/6So0UbAW3kc5La4g7ZvTJggn0HFJSB2xzSx5mpIyEp9muK +Wk+qJQC0NjmVH3GzG/wpR0Vpjhu1i/QvvqF3bK79LFbdf0Au3f04Kmj0 NQ+Yr1NhWaHAne0MWF8LXgzd+lKGfUQi0MqXA2VK2GHU5F2lH+elqu8oM jnmRZwLRXyGe2QrXxXOxqhQfy+DUBeH9C3RmQ1UK9jYFwBzU/5HxQnnqg Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="327609288" X-IronPort-AV: E=Sophos;i="5.98,282,1673942400"; d="scan'208";a="327609288" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 07:39:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="792579428" X-IronPort-AV: E=Sophos;i="5.98,282,1673942400"; d="scan'208";a="792579428" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 22 Mar 2023 07:39:20 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9C5E581; Wed, 22 Mar 2023 16:40:06 +0200 (EET) From: Andy Shevchenko To: Bumwoo Lee , Andy Shevchenko , linux-kernel@vger.kernel.org Cc: MyungJoo Ham , Chanwoo Choi Subject: [PATCH v1 01/14] extcon: Fix kernel doc of property fields to avoid warnings Date: Wed, 22 Mar 2023 16:39:52 +0200 Message-Id: <20230322144005.40368-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b In-Reply-To: <20230322144005.40368-1-andriy.shevchenko@linux.intel.com> References: <20230322144005.40368-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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_ca= ble' Function parameter or member 'chg_propval' not described in 'extcon_ca= ble' Function parameter or member 'jack_propval' not described in 'extcon_c= able' Function parameter or member 'disp_propval' not described in 'extcon_c= able' 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 --- drivers/extcon/extcon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 3997b39680b7..1bc2639704c2 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -206,6 +206,10 @@ static const struct __extcon_info { * @attr_name: "name" sysfs entry * @attr_state: "state" sysfs entry * @attrs: the array pointing to attr_name and attr_state for attr_g + * @usb_propval: the array of USB connector properties + * @chg_propval: the array of charger connector properties + * @jack_propval: the array of jack connector properties + * @disp_propval: the array of display connector properties */ struct extcon_cable { struct extcon_dev *edev; --=20 2.40.0.1.gaa8946217a0b