Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2316523pxb; Sat, 21 Nov 2020 17:57:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCPxe/3XeR3iWmVO0XqFO5YaRZntLET6Q7Wwo7nTz/V9+IlC0JwYS7lmDVAhqXKR32CGcx X-Received: by 2002:a05:6402:1ef:: with SMTP id i15mr13218420edy.60.1606010251039; Sat, 21 Nov 2020 17:57:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606010251; cv=none; d=google.com; s=arc-20160816; b=RSYHqNmz3QN7F38e6EO9pzdAYYIFUBqj0oE7wCBv0htY/p9gilJxXYLK98heLNtP9b pelYTAgsxMT+HsWHhvpd0nmKBQCSYDXZA/R1/w2rQkzgxB/x25TcSH4SeijJ09SxMzOe nOpSvP8BC/+HCm5FYwfJqTkphhD6dtMsiCS0YMJc58uujkQzzK2Qky5Q3sWgvOp6GDIH Fa1M5c4lMEXaHk+Ex2r5lCJrBZvAmoCo7YfD9Wj60yEvjusKJmF6KvV8DBQsBOXJ8Gmo wh0wpsj8ZpCjFWm+b/0KzGb/RFDxTztlh/o157tGQSTbWXBs2Fwkx5Q+JwaEHmn0F1R8 kpnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:ironport-sdr:ironport-sdr; bh=fSRLGPo6EtyeXIDaRN9OLW/OzQVMGhaydeBIYxmriIs=; b=xWR8Vs36nl9M0TG3IcFhFPfMwZx83GT9CjRJ728Zh0n+urBD3Ky5rza7yG0v5Cpfg0 0WrhB2vaSrW8F0N4wZ6Pm0VkrAOMv+Vj9rTeeDCwwOAUFmadcpME2Qh0eHiZCthwk/D4 hClHvhD4G2Uiko096NnYs2r3Nr6GsFvA0W76AOfK2ssVlvJ6ApFlXN9tBc8H5KKtxLko pIGp4japvTBZ6NuZkxPiD/2/6qwgx2te6P70avCLpCyZReLe+OUp+QjNXk9PY4aDsENl 45g+VLF+Odt5M4nIgl56uy7G939twSO0bveEyipLjId/GJi7wB6cZLBn/67pd4oKxArM E9XQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox26si4656831ejb.107.2020.11.21.17.57.08; Sat, 21 Nov 2020 17:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbgKVByn (ORCPT + 99 others); Sat, 21 Nov 2020 20:54:43 -0500 Received: from mga02.intel.com ([134.134.136.20]:64188 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726544AbgKVBym (ORCPT ); Sat, 21 Nov 2020 20:54:42 -0500 IronPort-SDR: SPxkknZm00GcJLpQz3xuhKiZe9ar3ksDaQeI4adj8XvbNzsIbfikV6nXg8Iw3c/oP2jerw4GAG OuiD3iiHvsig== X-IronPort-AV: E=McAfee;i="6000,8403,9812"; a="158665337" X-IronPort-AV: E=Sophos;i="5.78,360,1599548400"; d="scan'208";a="158665337" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2020 17:54:41 -0800 IronPort-SDR: nHTlTg5R0SVGd+aL/lMzoqiQs0+nGi4R9lPSJNIx7P6v53kz+qpZmiCzAMG0A0S+Thcde6DHl+ K6fWr1zlp7KA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,360,1599548400"; d="scan'208";a="360963901" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga004.fm.intel.com with ESMTP; 21 Nov 2020 17:54:40 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 21 Nov 2020 17:54:40 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 21 Nov 2020 17:54:40 -0800 Received: from orsmsx610.amr.corp.intel.com ([10.22.229.23]) by ORSMSX610.amr.corp.intel.com ([10.22.229.23]) with mapi id 15.01.1713.004; Sat, 21 Nov 2020 17:54:40 -0800 From: "Pandruvada, Srinivas" To: "jic23@kernel.org" , "Ye, Xiang" CC: "jikos@kernel.org" , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-iio@vger.kernel.org" Subject: Re: [PATCH v2 2/4] iio: hid-sensor-trigger: Decrement runtime pm enable count on driver removal Thread-Topic: [PATCH v2 2/4] iio: hid-sensor-trigger: Decrement runtime pm enable count on driver removal Thread-Index: AQHWwHJwAVvKIqY7DkWZEPObxtGfJA== Date: Sun, 22 Nov 2020 01:54:39 +0000 Message-ID: <70f76abd28a26e1259aa8c34851476c31e898d91.camel@intel.com> References: <20201119100331.2594-1-xiang.ye@intel.com> <20201119100331.2594-3-xiang.ye@intel.com> <20201121172257.59fa05d5@archlinux> In-Reply-To: <20201121172257.59fa05d5@archlinux> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.34.4 (3.34.4-1.fc31) x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCAyMDIwLTExLTIxIGF0IDE3OjIyICswMDAwLCBKb25hdGhhbiBDYW1lcm9uIHdyb3Rl Og0KPiBPbiBUaHUsIDE5IE5vdiAyMDIwIDE4OjAzOjI5ICswODAwDQo+IFllIFhpYW5nIDx4aWFu Zy55ZUBpbnRlbC5jb20+IHdyb3RlOg0KPiANCj4gPiBUbyBhdm9pZCBwbV9ydW50aW1lX2Rpc2Fi bGUgY2FsbGVkIHJlcGVhdGVkbHkgYnkgaGlkIHNlbnNvcg0KPiA+IGRyaXZlcnMsDQo+ID4gZGVj cmVhc2UgcnVudGltZSBwbSBlbmFibGUgY291bnQgYWZ0ZXIgY2FsbCBpdC4NCj4gPiANCj4gPiBT aWduZWQtb2ZmLWJ5OiBZZSBYaWFuZyA8eGlhbmcueWVAaW50ZWwuY29tPg0KPiBUaGlzIHNvdW5k cyBsaWtlIGEgZml4LiAgSWYgc28gcGxlYXNlIG1ha2UgdGhhdCBjbGVhciBhbmQgYWRkIGEgZml4 ZXMNCj4gdGFnLg0KPiANCj4gSWYgaXQgY291bGRuJ3QgaGF2ZSBiZWVuIHRyaWdnZXJlZCBiZWZv cmUsIHRoZW4gcGxlYXNlIGV4cGxhaW4gd2h5IGluDQo+IHRoaXMNCj4gcGF0Y2ggZGVzY3JpcHRp b24uDQpOb3JtYWxseSBpdCBpcyBub3QgYSBwcm9ibGVtIGFzIHRoaXMgaXMgY2FsbGVkIGR1cmlu ZyBkcml2ZXIgcmVtb3ZlIGFuZA0KbmV4dCB0aW1lIGluc21vZCB0aGl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