Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp228609imm; Wed, 18 Jul 2018 00:49:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpftWcZbTLdH9QS6lh13oHhcB9lUrOCV+9eIctVmGfof876ai8pDzW1O29oefqabopcWV5B2 X-Received: by 2002:a63:c80e:: with SMTP id z14-v6mr4656272pgg.77.1531900152858; Wed, 18 Jul 2018 00:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531900152; cv=none; d=google.com; s=arc-20160816; b=RIagjtF5WKIt7m0AeBFsiRj+acgz79I9hOv0+a3ws3zrxjUOUAAhXrVACyTZU8mTxZ 6VZo/VDP9lewoU0jyQigNiqOJ5M9OKwFiXhi1sRP7NUC7dBfU+ySATgJCGJDngcxuxfe kuSd/W4+s7LexT7pay/MoNo7Tm7NwKsHCvhCWGmOPHR0ZkHbWWgYGsWAX40ALkpA4Nqc 5G5p2/XmcBU4FC1IOYllYEYNp9DA0lGt5dX4BDz5H4V+l0uJRusv5x7Jy+gvqDwRYwaq FMdTt+CSbCR4cWEfsJi2LWi61WdrDIeIoPs77aWN58VQdlplunihzcj0RJ3iahE6yocC 36jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-id:content-language :content-transfer-encoding:mime-version:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=KB96fk6DwHYiRh0i4CwPUAMSsaJLJkv59YPaeI7EEsg=; b=Jpia5ngVOpZjS+VMI9AYqqb0mRskO/bhwGgUc3lPawHoZuea3EfO/DrViqGDRaTW2G PHA3XWQGEeYy56z3rRdk2WLy2hHKZBLln1e9h4/B0+EK2v/wz/N4xyv4DX4itb3GLCJ9 x9CrZtzR6yrbGZluXoDMjDbku7TYtoQrWnpQ3xDJdNuw8ogmS7jF3DoiAtfkBXJCvbj4 5dxJciy8f9Bohhfx5dpHRBw20bfLf/RuOseN2LlEr4XOFrZMEQbVEsTNgjDEM2PAmv/v JTiyWR6/bbRxN4uB10nhH+0MMIRZWVDeCBsVdUMSfOQX5QEUFc5Ht6g8w8QyZJb+CCH6 FV7w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194-v6si2751556pgf.651.2018.07.18.00.48.58; Wed, 18 Jul 2018 00:49:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729325AbeGRIYS (ORCPT + 99 others); Wed, 18 Jul 2018 04:24:18 -0400 Received: from enterprise03.smtp.diehl.com ([193.201.238.214]:6721 "EHLO enterprise03.smtp.diehl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728912AbeGRIYR (ORCPT ); Wed, 18 Jul 2018 04:24:17 -0400 X-Greylist: delayed 597 seconds by postgrey-1.27 at vger.kernel.org; Wed, 18 Jul 2018 04:24:16 EDT X-$ESA-Groupmapping: true X-IronPort-AV: E=Sophos;i="5.51,369,1526335200"; d="scan'208";a="1553064" From: Denis OSTERLAND To: "alexandre.belloni@bootlin.com" CC: "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "m.grzeschik@pengutronix.de" , "devicetree@vger.kernel.org" , "a.zummo@towertech.it" , "mark.rutland@arm.com" , "linux-rtc@vger.kernel.org" , "kernel@pengutronix.de" Subject: Re: [PATCH v4 1/5] rtc: sysfs: facilitate attribute add to rtc device Thread-Topic: [PATCH v4 1/5] rtc: sysfs: facilitate attribute add to rtc device Thread-Index: AQHUGDKQ7gjvnwME1UyQbN8b3dTaxqSUfvwAgAADiYA= Date: Wed, 18 Jul 2018 07:37:47 +0000 Message-ID: <1531899467.6017.9.camel@diehl.com> References: <20180710090710.9066-1-Denis.Osterland@diehl.com> <20180710090710.9066-2-Denis.Osterland@diehl.com> <20180718072508.GG3211@piout.net> In-Reply-To: <20180718072508.GG3211@piout.net> Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 X-TrailerSkip: 1 X-GBS-PROC: byQFdw3ukCM+zy1/poiPc26g7IkGoKpJo6jEGE3cBJkHEtr4BfjwJVggEhgQsDgN X-TNEFEvaluated: 1 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8sDQoNCnRoYW5rcyBmb3IgeW91ciBjb21tZW50cy4NCg0KQW0gTWl0dHdvY2gsIGRl biAxOC4wNy4yMDE4LCAwOToyNSArMDIwMCBzY2hyaWViIEFsZXhhbmRyZSBCZWxsb25pOg0K PiBIZWxsbywNCj4gDQo+IE9uIDEwLzA3LzIwMTggMDk6NDQ6MTUrMDAwMCwgRGVuaXMgT1NU RVJMQU5EIHdyb3RlOg0KPiA+wqANCj4gPiArDQo+ID4gK3N0YXRpYyBzaXplX3QgcnRjX2dy b3VwX2NvdW50KHN0cnVjdCBydGNfZGV2aWNlICpydGMpDQo+ID4gK3sNCj4gSSBkb24ndCBm ZWVsIHRoaXMgZnVuY3Rpb24gaXMgbmVjZXNzYXJ5LCB5b3UgY2FuIGluY2x1ZGUgaXQgaW4g X19ydGNfYWRkX2dyb3VwDQpJIHRoaW5rIHRoYXQgaXQgaXMgZWFzaWVyIHRvIHJlYWQsIGJ1 dC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