Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F7FDC678D4 for ; Fri, 3 Mar 2023 13:22:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbjCCNWT (ORCPT ); Fri, 3 Mar 2023 08:22:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbjCCNWQ (ORCPT ); Fri, 3 Mar 2023 08:22:16 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5E395FEA3 for ; Fri, 3 Mar 2023 05:22:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1677849733; x=1709385733; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=wdmfJeu5RZwfTPnkrSw760hdCiZ4tf3RkCc3o6GIIMU=; b=DUpZr9DZ5Q4L8MrnLhSt3XqqsWC/z4vkCHT4ifyP5vp8WQjberzg91ek zb5LRZfMrfNVWJruJ190X+hqpQ34W0xP1Crb0pwND//3k84u+k/cJTwwB b2wQCVS0oMDgTosfWnx6R5w0JCMD2vDbuyvMnNVhR5IYc3YUSXMRrf+Cs Vixibsf9cMekFaS4qt2ue9msXIUjmUx6g7WN0ZA7C9v6zR9qi+tCZmVFd M14IJ2JhAfKzO2KGgXZKNUDrn3IUHqJRNZmdyY6EvB7xaVU51y+cjMo45 cTVVROjKth5R13ykLC/b8IX4lgPyAiwKITUWzL0Z0Fhe/oQx9T+fKUtKa g==; X-IronPort-AV: E=Sophos;i="5.98,230,1673938800"; d="scan'208";a="214616653" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Mar 2023 06:22:12 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 3 Mar 2023 06:22:12 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Fri, 3 Mar 2023 06:22:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i4adb4laK6szt3iFeei336boH2ZDBFdTJV4csmuCZf/PPG4BJYGVO/HOVLL05+PbMDUUBuMMD43FAgZs0yyksya/yeqfLfzygvmyL+MGqGJWkQq+JzEVDbOxZsjInzWvLPsGYVYaOTMHGIfnHdwSpxB+dGuC1aAyRAQN2R5e/CgqjMnbnF9JXyueDFUGpGDGmB1lAaNeIjJj05W/cfHFTwIbgUALdd+5v+SSduyq/Y0hNNw0r6o8lJcfhkFjESViLVvEsUXUqsEuQ/jLmPhXVvV5jvp96axMBQBBcFyZ/zxxm3AYN1jaAztYkK++jijxT4eZsveb6pY0QmA107AtLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wdmfJeu5RZwfTPnkrSw760hdCiZ4tf3RkCc3o6GIIMU=; b=YoNcmLJymvVowghIEFgaStvotFQNQpVC4nD0Rzz5wErzjFDg+wIv56ctQEsry0EQfs74TViisZ38uYG5dhNML6ZuAswYDmfx4ZEzAiW9jbdthq9p1Px2m7vE1QX/Dh1wb57fnztKBTrOp7GzbF14WnaoBIP2334F0k7o2h0Pfeo6aZMm/Xvy75CseeEcozlU3ngetkT1gV19fSBlQ2ebRxR9rcP+E9XrZfuV57xMeg0ngxVvhmMj4esR3LwHPho+PrS6BUZ3D/48KUZJqrGCl47NQhFmsTWJHDobMFO7jb/Eh6Akh3wwNDV9mOHXA443DBQ5FNkLrP3ddVfbHiffcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wdmfJeu5RZwfTPnkrSw760hdCiZ4tf3RkCc3o6GIIMU=; b=pFCojI+wDe6BwUWXnwNV6kR7hoo5YER+uwIdv+gOg623ZrcR35j5h7moN9vL/4U/1s8TAcaTemGQKZ4KPNGBIBQQ/3/Wbb0nbGAvBmvHkI/5p617maw9ARsbbe+spFcKFDnqLYapfTsfbdsJp8yXLgWR8vlU6nsQvrvB2ZLVnN8= Received: from DM6PR11MB3532.namprd11.prod.outlook.com (2603:10b6:5:70::25) by SJ0PR11MB6742.namprd11.prod.outlook.com (2603:10b6:a03:47b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.22; Fri, 3 Mar 2023 13:22:09 +0000 Received: from DM6PR11MB3532.namprd11.prod.outlook.com ([fe80::3b71:50e4:3319:f0af]) by DM6PR11MB3532.namprd11.prod.outlook.com ([fe80::3b71:50e4:3319:f0af%7]) with mapi id 15.20.6156.021; Fri, 3 Mar 2023 13:22:09 +0000 From: To: , , CC: , Subject: Re: [PATCH RESEND] most: core: Use sysfs_emit in show function callsbacks Thread-Topic: [PATCH RESEND] most: core: Use sysfs_emit in show function callsbacks Thread-Index: AQHZTHR7W0ee4kuqDkKQGcQnDVCRJa7pDVIA Date: Fri, 3 Mar 2023 13:22:09 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB3532:EE_|SJ0PR11MB6742:EE_ x-ms-office365-filtering-correlation-id: dc94066e-f5c3-4314-980a-08db1bea4ae5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 69nb5xZlzv1XN8tL1fx7fpd0+SdTZCJzzBq7iPhO8vfEqZHNYA2fLSXqunnlCNyITIZxxnQjE0pQaLpOMGp3fZya9bBGCtGAcrw5VrWUkwKhyKULRB4DOi/CnxZu6qSAk7BvUF/2Of5ma1rskmxr6NNCAoxrX7nuxknDoR0z6zxFf4MfCEdEZrBeSW3GJYjZtVUrcBAFx/RTVD9NNhVThd8R1Zo+Cp3J490S/YjKeTE91yBn0d8X6o/Sa/zBEEe/+5HO9kPB/W6gKJUBGlc8Hk3BCkOvAOCgca/SF82eOCbAi2j93npRfZq4TBewAT5s24vb9uQss5K18HOUtj4Lc2JwuohqAwR+FCAwZD1npYpLkxOQusqDI3/r36eq4ZbeBHA+6WVJCv/j5qBkuJ3LyaSrcXK5jlz8+2esDPP67gBw6f6/tkfSv32GDlAQ1gfpCobb+45/61QLmfS0PtnziToHp+R2V+HxddT9uzf1I31+UX6EXLnmtKhjO4zRbu0xBKGG66PEVvMGArqdg25fP8el3nGtCMsWFt57GdfQ1DWsFhfmqD9Ammje10Ma4NhqaUc7KP8dmJfs0JIcuF50oqlLAYuSJ8vc2fVY/9dPPNUpRjDsOSgN6pUuDZtX5ih3lVNxsBp87qHCcvVQ57BHtrToE3LPm84QSgUdcw+CMfIm1x/YDIQQcGm/2RleuZuPRNVex1Tax9H9cY4KamLBpGfLAPAUz8v026D9MJ4ERYqtyP3JO2aeGlif/fVYR1a7/zQkxuFbAFze1JjFAWIQzg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB3532.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(39860400002)(366004)(396003)(136003)(346002)(451199018)(31696002)(86362001)(36756003)(26005)(41300700001)(4326008)(6512007)(6506007)(53546011)(5660300002)(2616005)(186003)(8936002)(8676002)(316002)(71200400001)(91956017)(54906003)(110136005)(478600001)(76116006)(64756008)(66446008)(66476007)(66556008)(6486002)(966005)(66946007)(122000001)(38100700002)(38070700005)(83380400001)(2906002)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?b2JYSGJORWQwdlBZWWVSYkIxTS90NVNvYUdIVXMydU55blhMbENGdGpjT1ZV?= =?utf-8?B?ZEYyMTUzNVpZMjBRU2JGK1o1THJYak1kSzgxN1JMRSs4MndyTC9SdFdpMzJu?= =?utf-8?B?ckxSREozYkZjbHNqUjR2L2lUaGwxc3V3aTJLTm5scGxnY3hXR3Vyc3JPOEZS?= =?utf-8?B?cm05TlN5WmpSYUNnN2o0Vm1ydmovbE0xVVVQRURTN1lpNlp3TXl6aUYrRUtQ?= =?utf-8?B?cjBxT01aam1JKzdzeHZ0WGhHQnpoR1c0clNvUGxEbmk4YUxraGtYWDFuVllH?= =?utf-8?B?UHRnYjhjZUQ0Y3BtTFNRZXlzUEh1aUJnSXI5bG0wY0hadHZ2QUlaNjUzUDNi?= =?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WmNtNXdwRmFYYkhQQ2dpVEFDcld6NHVHSjJvdzBDcUxNY2VoNW5YcU5i?= =?utf-8?Q?oTF1GkNCURzKAGoXYzLtJ/4=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <14A07640BF02EF4887C9E24643A16929@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3532.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc94066e-f5c3-4314-980a-08db1bea4ae5 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2023 13:22:09.5758 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: r53PjqNmV+ViYIVWnHesf8dYd/PW0jpVyXs6snTogNuvMCMY2AibNzRLM+NQ02QD4W3RsCfq5dT+x8JwlEdrrSguiS1+/UQcXDQxTg9vqoythEUP53CBEj2DVWPjjh0O X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB6742 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDIvMDMvMjMgMTowMSBhbSwgRGVlcGFrIFIgVmFybWEgd3JvdGU6DQo+IFtTb21lIHBlb3Bs ZSB3aG8gcmVjZWl2ZWQgdGhpcyBtZXNzYWdlIGRvbid0IG9mdGVuIGdldCBlbWFpbCBmcm9tIGRy dkBtYWlsby5jb20uIExlYXJuIHdoeSB0aGlzIGlzIGltcG9ydGFudCBhdCBodHRwczovL2FrYS5t cy9MZWFybkFib3V0U2VuZGVySWRlbnRpZmljYXRpb24gXQ0KPiANCj4gRVhURVJOQUwgRU1BSUw6 IERvIG5vdCBjbGljayBsaW5rcyBvciBvcGVuIGF0dGFjaG1lbnRzIHV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iIpOw0KPiArICAgICAgICAgICAgICAgcmV0dXJuIHN5c2Zz X2VtaXQoYnVmLCAidHNpXG4iKTsNCj4gICAgICAgICAgY2FzZSBJVFlQRV9IQkk6DQo+IC0gICAg ICAgICAgICAgICByZXR1cm4gc25wcmludGYoYnVmLCBQQUdFX1NJWkUsICJoYmlcbiIpOw0KPiAr ICAgICAgICAgICAgICAgcmV0dXJuIHN5c2ZzX2VtaXQoYnVmLCAiaGJpXG4iKTsNCj4gICAgICAg ICAgY2FzZSBJVFlQRV9NRURJQUxCX0RJTToNCj4gLSAgICAgICAgICAgICAgIHJldHVybiBzbnBy aW50ZihidWYsIFBBR0VfU0laRSwgIm1sYl9kaW1cbiIpOw0KPiArICAgICAgICAgICAgICAgcmV0 dXJuIHN5c2ZzX2VtaXQoYnVmLCAibWxiX2RpbVxuIik7DQo+ICAgICAgICAgIGNhc2UgSVRZUEVf TUVESUFMQl9ESU0yOg0KPiAtICAgICAgICAgICAgICAgcmV0dXJuIHNucHJpbnRmKGJ1ZiwgUEFH RV9TSVpFLCAibWxiX2RpbTJcbiIpOw0KPiArICAgICAgICAgICAgICAgcmV0dXJuIHN5c2ZzX2Vt aXQoYnVmLCAibWxiX2RpbTJcbiIpOw0KPiAgICAgICAgICBjYXNlIElUWVBFX1VTQjoNCj4gLSAg ICAgICAgICAgICAgIHJldHVybiBzbnByaW50ZihidWYsIFBBR0VfU0laRSwgInVzYlxuIik7DQo+ ICsgICAgICAgICAgICAgICByZXR1cm4gc3lzZnNfZW1pdChidWYsICJ1c2JcbiIpOw0KPiAgICAg ICAgICBjYXNlIElUWVBFX1BDSUU6DQo+IC0gICAgICAgICAgICAgICByZXR1cm4gc25wcmludGYo YnVmLCBQQUdFX1NJWkUsICJwY2llXG4iKTsNCj4gKyAgICAgICAgICAgICAgIHJldHVybiBzeXNm c19lbWl0KGJ1ZiwgInBjaWVcbiIpOw0KPiAgICAgICAgICB9DQo+IC0gICAgICAgcmV0dXJuIHNu cHJpbnRmKGJ1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