Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4600856rwl; Mon, 3 Apr 2023 07:14:15 -0700 (PDT) X-Google-Smtp-Source: AKy350Zjkxy9s2YIvSlYvcb7hQU9itCzCsOBl7Gv3WuRAqgHUcAjevnoSKaiJ7etfbABsWsPQutv X-Received: by 2002:a17:906:3a83:b0:932:9502:4fd1 with SMTP id y3-20020a1709063a8300b0093295024fd1mr34896489ejd.43.1680531255501; Mon, 03 Apr 2023 07:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680531255; cv=none; d=google.com; s=arc-20160816; b=PI8jwbS377/yok+Z/TtUN7E2HooWONOajwJR74RHN5qRaL7pQc6puZBj3vH6WbMFds /R93wSq/v7dZe4X5MrpCby+eA140JuddN+qEcmYxidhCuHJx9UwdKFWDgaziWXQJ/OTQ s3XTZJZUB/XVEqdTxLz1RysbGpzm35WFusHB4M8hj5xREQPqHE+TfSkJ2DDjgpbnK+0B u4dpQJWlYm8nJ/iXDAw/2x5bqhaR8D95Pih8abzF9Wtsq9WKEZIce8EnZ8bof6u+pX8W RXluhs1GrZU79sR7EO7PhKp6LUkpjzWhApT1RrOy/rba3YpYodPsmcXVwPBJ/IH0/bbP M3GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=VdH5SytCYu18Erl2+hmHazDSFaLa7orTkkF1JcQxu1k=; b=ztL2AQHMpUX9iwsBqe00Yulfxd7e25LnIrhBURQghdykvMTKlgh048N6VZqm7LERwS x/UGs/PT7o+4US3hQsm7xfmjoK7+WiuiOb/RyzxMiQhoqzA/nHCToaMJZcAy1DKIkHiU dJHHdLC0EcozuAMyQhUCmcMkaFPZetO6Vi76kcQyeWi/pZnC0Ird62tw0urTt6NOiZwM OUjHn/9zBL7nMim4eqQydRi1VGW9TaU3N7CVKrHE0bZru06X7zizpWcvaN3uQsltk05c IfwMACR9EeL5actQz1/Imim/qQ30eTxeI0NIMN5LzjjDQQiAZCTJ7k8hT03an/zpS+Mz b8dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LDhjBozk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h27-20020a170906585b00b0092fd9e735d6si4027452ejs.314.2023.04.03.07.13.39; Mon, 03 Apr 2023 07:14:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LDhjBozk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229663AbjDCOLT (ORCPT + 99 others); Mon, 3 Apr 2023 10:11:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232828AbjDCOLG (ORCPT ); Mon, 3 Apr 2023 10:11:06 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 278142C9F1 for ; Mon, 3 Apr 2023 07:10:50 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id f22so23999113plr.0 for ; Mon, 03 Apr 2023 07:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680531049; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VdH5SytCYu18Erl2+hmHazDSFaLa7orTkkF1JcQxu1k=; b=LDhjBozkMLnjU7v1cWqHrIQSxC3UY9ucBinTC9heGnsbd9All6lkEQ0Y3ZEW0CkGXk vUBefuaTtbVPnK6z/7bAMPBSHhnEZfpapX/gRJrV2mYqfGcuJOFIauh+Dhp2ZHZnLjH4 qxfD4JYESPLBL7opNSSK/eeWhU8050XTKQNAUA/ZWPyB/pdLRDJA3+0zsX3/kcwcWSBy seGvkdg6yF5fW6gv56OzF7gLVQ5dhwr6YWreS4Z3J/1NMnECHAtMSMCo/xFZOc51DVGA xOwJpbuOloD+9l5eZ08WMTPRTK25AalXot8WP/cB3aRCnKgBjEBzJDNyQ5yjf8TcbUCw 45YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680531049; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VdH5SytCYu18Erl2+hmHazDSFaLa7orTkkF1JcQxu1k=; b=S/Slo/U5Eq5BQo9U/hiInXe6eVBl6XmUDgwHMbKht4EJ1QLTWoClmpYhwfNA+FYpdi 6UtjVCuCJz99akUCeW577q2XWjy1OlDTPkRX54PjpzXDOzBpB7MZgZapt2ksoTG4/Vy3 SuUH0F8YPzrK66I2ABcPIY5ckOLb8E3v5mBzAXolYtWR0bKoFfvkf0F02tBxCOhsIHKV HqGU3nwDFsXr3uZmTHZdXIUnz+pBKbHsr2+h/tWQ1i78Rzi+HQr+10Hm2R1UO251wpBP WQyQk9nMr/jKf6FBLbwYGLWp84k5vXN82Pnqmqta39snGOyrD9muoTllp5t8VpGeHeNX UkRA== X-Gm-Message-State: AAQBX9exS61P2u0rQXZD2RovUTRm9V/7GibkKoPIUDbakRcQFIMB9jAP FrisPj3kd1nwikrtz0zNRsE= X-Received: by 2002:a17:902:f2ca:b0:1a1:c54c:1a36 with SMTP id h10-20020a170902f2ca00b001a1c54c1a36mr29741894plc.63.1680531049224; Mon, 03 Apr 2023 07:10:49 -0700 (PDT) Received: from [172.30.1.1] ([14.32.163.5]) by smtp.gmail.com with ESMTPSA id y11-20020a170903010b00b0019a5aa7eab0sm6659001plc.54.2023.04.03.07.10.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 07:10:48 -0700 (PDT) Message-ID: <357a3ca5-8719-37b8-fd22-657e31a0ce16@gmail.com> Date: Mon, 3 Apr 2023 23:10:45 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v1 05/14] extcon: Amend kernel documentation of struct extcon_dev Content-Language: en-US To: Andy Shevchenko , Bumwoo Lee , linux-kernel@vger.kernel.org Cc: MyungJoo Ham , Chanwoo Choi References: <20230322144005.40368-1-andriy.shevchenko@linux.intel.com> <20230322144005.40368-6-andriy.shevchenko@linux.intel.com> From: Chanwoo Choi In-Reply-To: <20230322144005.40368-6-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23. 3. 22. 23:39, Andy Shevchenko wrote: > First of all, the @lock description is missing. Add it. > Second, correct the terminator value for the mutual exclusive > cabling. > > Signed-off-by: Andy Shevchenko > --- > drivers/extcon/extcon.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/extcon/extcon.h b/drivers/extcon/extcon.h > index 93b5e0306966..15616446140d 100644 > --- a/drivers/extcon/extcon.h > +++ b/drivers/extcon/extcon.h > @@ -13,8 +13,8 @@ > * are disabled. > * @mutually_exclusive: Array of mutually exclusive set of cables that cannot > * be attached simultaneously. The array should be > - * ending with NULL or be NULL (no mutually exclusive > - * cables). For example, if it is { 0x7, 0x30, 0}, then, > + * ending with 0 or be NULL (no mutually exclusive cables). > + * For example, if it is {0x7, 0x30, 0}, then, > * {0, 1}, {0, 1, 2}, {0, 2}, {1, 2}, or {4, 5} cannot > * be attached simulataneously. {0x7, 0} is equivalent to > * {0x3, 0x6, 0x5, 0}. If it is {0xFFFFFFFF, 0}, there > @@ -27,7 +27,7 @@ > * @nh: Notifier for the state change events from this extcon > * @entry: To support list of extcon devices so that users can > * search for extcon devices based on the extcon name. > - * @lock: > + * @lock: Protects device state and serialises device registration > * @max_supported: Internal value to store the number of cables. > * @extcon_dev_type: Device_type struct to provide attribute_groups > * customized for each extcon device. Applied it. -- Best Regards, Samsung Electronics Chanwoo Choi