On Mon, Dec 05, 2022 at 12:50:53PM +0200, Jani Nikula wrote:
> On Thu, 01 Dec 2022, wrote:
> > From: ye xingchen
> >
> > Replace the open-code with sysfs_emit() to simplify the code.
>
> I was going to push this, but noticed the function has a third
> scnprintf(), and the last two play together
On Thu, 01 Dec 2022, wrote:
> From: ye xingchen
>
> Replace the open-code with sysfs_emit() to simplify the code.
I was going to push this, but noticed the function has a third
scnprintf(), and the last two play together with count. It would be
confusing to have a mix of sysfs_emit() and scnprin
From: ye xingchen
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen
---
drivers/gpu/drm/i915/i915_mitigations.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_mitigations.c
b/drivers/gpu/drm/i915/i915_mi