From: Chanwoo Choi <chanwoo@kernel.org>
To: YueHaibing <yuehaibing@huawei.com>,
myungjoo.ham@samsung.com, cw00.choi@samsung.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] extcon: Remove unused inline functions
Date: Mon, 24 Jul 2023 04:45:49 +0900 [thread overview]
Message-ID: <2a1a066d-28d4-fed7-8116-f775c2a6fd5f@kernel.org> (raw)
In-Reply-To: <20230720143712.24812-1-yuehaibing@huawei.com>
On 23. 7. 20. 23:37, YueHaibing wrote:
> commit 830ae442202e ("extcon: Remove the deprecated extcon functions")
> left behind this.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> include/linux/extcon.h | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/include/linux/extcon.h b/include/linux/extcon.h
> index 3c45c3846fe9..e596a0abcb27 100644
> --- a/include/linux/extcon.h
> +++ b/include/linux/extcon.h
> @@ -328,16 +328,4 @@ struct extcon_specific_cable_nb {
> struct extcon_dev *edev;
> unsigned long previous_value;
> };
> -
> -static inline int extcon_register_interest(struct extcon_specific_cable_nb *obj,
> - const char *extcon_name, const char *cable_name,
> - struct notifier_block *nb)
> -{
> - return -EINVAL;
> -}
> -
> -static inline int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
> -{
> - return -EINVAL;
> -}
> #endif /* __LINUX_EXTCON_H__ */
Applied it. Thanks.
--
Best Regards,
Samsung Electronics
Chanwoo Choi
prev parent reply other threads:[~2023-07-23 19:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 14:37 YueHaibing
2023-07-23 19:45 ` Chanwoo Choi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a1a066d-28d4-fed7-8116-f775c2a6fd5f@kernel.org \
--to=chanwoo@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®