Re: [PATCH] Input: misc: use sysfs_emit() to instead of scnprintf()

From: Dmitry Torokhov
Date: Wed Dec 13 2023 - 01:57:14 EST


On Thu, Dec 01, 2022 at 10:50:01AM -0600, Jeff LaBundy wrote:
> Hi Ye,
>
> On Thu, Dec 01, 2022 at 03:48:38PM +0800, ye.xingchen@xxxxxxxxxx wrote:
> > From: ye xingchen <ye.xingchen@xxxxxxxxxx>
> >
> > Replace the open-code with sysfs_emit() to simplify the code.
> >
> > Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
> > ---
> > drivers/input/misc/ims-pcu.c | 10 +++++-----
> > drivers/input/misc/iqs269a.c | 18 +++++++++---------

Split the patch in 2 for each driver, adjusted to the latest code and
applied.

Thanks.

--
Dmitry