Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4321859yba; Mon, 29 Apr 2019 18:08:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgv3ftfQhJJbXt7QNbDFi2CGVilM/jShcqI92vIgUVZQ88BuDrZlaG18yPywA6NiQsdqo+ X-Received: by 2002:a65:5003:: with SMTP id f3mr63456100pgo.29.1556586505872; Mon, 29 Apr 2019 18:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556586505; cv=none; d=google.com; s=arc-20160816; b=xwx6kSAo5r9Twb2ogRZ7E5NJjyTx3I6aclCdxOjfwHCK13ncbI6XpH9dOaUiPHh1xu akaTLsi+F9ubnjKapsfCaLqeOZfLkxDtF/8YH9tS4VnWYLVAXJwE7YOzXa/+gyLr2thu Xbkel6+wCg8Soq1f3xcGR/79jPSWDDt8eUykBgcJcTCCvcSfX7B7W6X4o5fFfBjfHIkY vOHMgUztDVoB31TSxpUOq8OJHs+PMw02S/9hoe1hiCX87K9y/lIzMSfIXOnShW05z6MX ybmEL5gydcivdjuNa7s2/BE3aiZJrvOQ8NtdqP81U7yFcw5JMbHI23VwW0ReL6+woqkm v3+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=f/1PCMfXEn+Nurn/lmS0nR77BP/Q6XGjj1TLePFj+Qg=; b=qFvYKD9VpB9rPoXXmTUprYtN+JkBNAod3hKdvrBLycWhf1oop5skqzVxnNmGNYzFdT ihsyH2QrO/72y5vuQj65tdZ+ncD63u0V6Hl1T9JOLkyqcFnLJqUM2H+r0+3ZhAjt2gFb a7+WcKRIS6/c5wTJCPczlGr7Tigt/4Qp//7GuqfzUz2qWyAlv7UDk397Ih8DT96gcHtJ WcPwHtTwdEAwkl8ye/58lR2gNBwWuDcI1isRkKK7vwetCbY/HY9141gdVZ7kc09xaflb hiK/OopJxGxuG5D+5ZKU3Bz7vm4Y60Ero2FdK9BXVfHQLt88jfy0NZAxLLi70c72cjso X0sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="fx/u46ZY"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m136si17129946pga.274.2019.04.29.18.08.09; Mon, 29 Apr 2019 18:08:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="fx/u46ZY"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729726AbfD3BHO (ORCPT + 99 others); Mon, 29 Apr 2019 21:07:14 -0400 Received: from mail-eopbgr20047.outbound.protection.outlook.com ([40.107.2.47]:26371 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729238AbfD3BHO (ORCPT ); Mon, 29 Apr 2019 21:07:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f/1PCMfXEn+Nurn/lmS0nR77BP/Q6XGjj1TLePFj+Qg=; b=fx/u46ZYCHAxb9PlpS/zfdj2a1QkLPQDoiNOaTh8egCKbY+zaQCCmmfWJQC7iuJirlCpHOO16aQ9IzQfiw/uGtweq6aXkLda5BLh4wvSAsViDQo1sUE8Fa71BbR200Wj+6/h+K41FXrwErrDSbTnEDIXhsL49F6BxwzGekGF/bM= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3866.eurprd04.prod.outlook.com (52.134.71.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Tue, 30 Apr 2019 01:07:09 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170%3]) with mapi id 15.20.1835.018; Tue, 30 Apr 2019 01:07:08 +0000 From: Anson Huang To: "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "linux-rtc@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V2] rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP Thread-Topic: [PATCH V2] rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP Thread-Index: AQHU/vEI6nnEEqbXYkOGPkXKkx7aOA== Date: Tue, 30 Apr 2019 01:07:08 +0000 Message-ID: <1556586144-7070-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR03CA0007.apcprd03.prod.outlook.com (2603:1096:203:2e::19) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a48f8be-7c3b-4802-9c9b-08d6cd082b1f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3866; x-ms-traffictypediagnostic: DB3PR0402MB3866: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 00235A1EEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(396003)(136003)(376002)(366004)(189003)(199004)(8676002)(7736002)(305945005)(66946007)(50226002)(71200400001)(73956011)(25786009)(71190400001)(4326008)(2906002)(66556008)(256004)(66446008)(99286004)(2616005)(486006)(476003)(14444005)(97736004)(52116002)(14454004)(64756008)(81156014)(81166006)(66476007)(478600001)(68736007)(6486002)(86362001)(102836004)(3846002)(6116002)(5660300002)(386003)(2201001)(316002)(6436002)(53936002)(6512007)(8936002)(66066001)(26005)(110136005)(36756003)(2501003)(6506007)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3866;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 4UawIbJ+ZhjF7WPJixFQa74+CnLPJwLKvS1ScNmqkpv10mIx9r1iTSEanRshKhaeYiHZKxGhz+viVCtszNOZlthD5kVyoAvZfTUKbbvrTvJpsiiK0ay0oHdxZr7h8K6rD9VqT6lkLAu0R3OyFzD1wyJhXOV3oTQdU1RHKI5EMRzA8HU5a3hbNUI7nxkw2XFuW8kCp1bI+3JcetRHZSkCedeHvIWHB8ho7/arcw28mE2k+ctYqiJHW3WxU03P7piYxySqF06hOAl/2kepD1wheUCQkrog/IhikalVbEAAqQlWLKjl1OU5OloVfpsAXkNlwsLYsL+sK14AIqyDWYsemM9vMgelHrUW4f7UYr3TZivvX7n6MrQvZUMWD5MhqW3TmLIPvACaiHRYJlQOxkUrfGjI8VxARHALe7NzF41vXXg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a48f8be-7c3b-4802-9c9b-08d6cd082b1f X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 01:07:08.9160 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3866 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIF9fbWF5YmVfdW51c2VkIGZvciBwb3dlciBtYW5hZ2VtZW50IHJlbGF0ZWQgZnVuY3Rpb25z DQppbnN0ZWFkIG9mICNpZiBDT05GSUdfUE1fU0xFRVAgdG8gc2ltcGx5IHRoZSBjb2RlLg0KDQpT aWduZWQtb2ZmLWJ5OiBBbnNvbiBIdWFuZyA8QW5zb24uSHVhbmdAbnhwLmNvbT4NClJldmlld2Vk LWJ5OiBEb25nIEFpc2hlbmcgPGFpc2hlbmcuZG9uZ0BueHAuY29tPg0KLS0tDQpDaGFuZ2VzIHNp bmNlIFYxOg0KCS0gdXNlIFNFVF9OT0lSUV9TWVNURU1fU0xFRVBfUE1fT1BTKCkgdG8gbWFrZSBz dXJlIHNudnNfcnRjX3BtX29wcyBpcyBlbXB0eSB3aGVuIFBNIGlzIG9mZi4NCi0tLQ0KIGRyaXZl cnMvcnRjL3J0Yy1zbnZzLmMgfCAxOSArKysrLS0tLS0tLS0tLS0tLS0tDQogMSBmaWxlIGNoYW5n ZWQsIDQgaW5zZXJ0aW9ucygrKSwgMTUgZGVsZXRpb25zKC0pD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