Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13394960rwb; Sun, 27 Nov 2022 05:11:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5guwi0o9kAfd0+WqpW1VNRKwziApMDlpWW77pvZFmiuNR22wIis1aC+Q0ZyMn74bJA5+Og X-Received: by 2002:a17:90a:2b8c:b0:212:f4f1:96ee with SMTP id u12-20020a17090a2b8c00b00212f4f196eemr57157447pjd.72.1669554691935; Sun, 27 Nov 2022 05:11:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669554691; cv=none; d=google.com; s=arc-20160816; b=LImD6xIGYvFsvwfau9chjNjDCHQjf4e5C4ULUPR5FjAeqoa6hAvISTWHNXsSnZ8iqq XF76Z0A30FwrPxQjjfbVkGCiPORnGMxPSoON/7k9INWU2759eTatpDp5uMsFg+eSa7sl Iun4Jtq6MPE+H91kSq1+Ggg2yZGkXXf2aUTr4Uxy/Bd/d+5llKwBXhr4wUch+bCP8RAk i9w7Gv9GRB8UHfYF5RGv/cBg3njc2Ej2OhRrGUxxSASJrV8GV6dEG+amxTPgR2NbS4FJ GYeQKch3Y7hY3WecCX/ZxIm9D/hHCVIyoovU8MnNgQ5llTSVmwBrAHN+NX5ZWLphldHo bHog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=KaJpnysotGovuaYZ9svY3/AV0urikY9m+GYHr9xw4mU=; b=j7YnZkeXtKtKBeaXIFycTw6ufWqD4CeDuwQeaFo9mCyTLeg/G8PP8XtSUPCrGAUqYN J7/MTTBhbvc07gjrAY03R+Nj2dFSMfiJDs/oZQ9AmpGyKjgLMLlv2l6SjMNUueooyejv Kt5dY3nPplRUuxzE61sN1EcUAIPra8Cjw++URXAg7c/n47xjCH4BI7pnvUbzjh9aOMhe GE64DKssLj9K96DDl/YRyFleI9FocWDfXHsj26fJRfDndc2lpxPUsH4Gcu+61xDc111A hmOe7xNVhJfkEEZN1sNtmL1z4vIpcS4SSUt6VpiV5+1FQaJ8W/ghR+DCaZ8mHxA69KrB r5Xw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u70-20020a638549000000b00459ba7ace44si9839704pgd.514.2022.11.27.05.11.21; Sun, 27 Nov 2022 05:11:31 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229622AbiK0Mt1 (ORCPT + 85 others); Sun, 27 Nov 2022 07:49:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbiK0MtZ (ORCPT ); Sun, 27 Nov 2022 07:49:25 -0500 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 410B86562; Sun, 27 Nov 2022 04:49:24 -0800 (PST) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 27 Nov 2022 20:49:16 +0800 (GMT+08:00) X-Originating-IP: [182.148.15.36] Date: Sun, 27 Nov 2022 20:49:16 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: sony: convert sysfs snprintf to sysfs_emit X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT6.0.1 build 20210329(c53f3fee) Copyright (c) 2002-2022 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <7f3fb8ac.1d4.184b9227e20.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwCnu+HMXINjanIFAA--.132W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQADB2FEYx0G1gAEsK X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_PBL,RDNS_NONE, T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 Rml4IHRoZSBmb2xsb3dpbmcgY29jY2ljaGVjayB3YXJuaW5nOgoKZHJpdmVycy9oaWQvaGlkLXNv bnkuYzo3MTA6OC0xNjogV0FSTklORzogdXNlIHNjbnByaW50ZiBvciBzcHJpbnRmCmRyaXZlcnMv aGlkL2hpZC1zb255LmM6NzQ3OjgtMTY6IFdBUk5JTkc6IHVzZSBzY25wcmludGYgb3Igc3ByaW50 Zgpkcml2ZXJzL2hpZC9oaWQtc29ueS5jOjc1OTo4LTE2OiBXQVJOSU5HOiB1c2Ugc2NucHJpbnRm IG9yIHNwcmludGYKClNpZ25lZC1vZmYtYnk6IEthaUxvbmcgV2FuZyA8d2FuZ2thaWxvbmdAamFy aS5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