Received: by 10.223.185.116 with SMTP id b49csp1152109wrg; Fri, 16 Feb 2018 13:25:52 -0800 (PST) X-Google-Smtp-Source: AH8x227nYT3BRWZmjCQFG+fimVukQy+ba3GN4QjQ4IVJB7SXcWK1qmRFNA4VqsK9GZOxSBw6oZGS X-Received: by 2002:a17:902:7b92:: with SMTP id w18-v6mr5841391pll.159.1518816352395; Fri, 16 Feb 2018 13:25:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518816352; cv=none; d=google.com; s=arc-20160816; b=ApLNk0WgfdRZTMM88jaO2XOqo0sb+XKgBMGaWsvjd5atfp1Z2Rb1q476//oxn+KXPa oT8Ljih6ugKKENhE6G+k8pM6WsP4v3GYQRLZDf94rDFYTks6fD/IxVRUcD3LryKXYZe9 VpqghA6akjBBIgHSIZJG9rTj0iJQEBzqOWe59bjE7WlET5bjLXd/jbvEW/zd9quEWWlk OGmSWrZKCnqd+YMCOXKx4VM2Gc9EPSGTFshxldCiMB2C699w/Z6TQfg9kDqi1CqBzAXs jJfqhn4sCLeYpol2UsrMlVXTC0pVEeLJpJ4bVDqvRdwtDdIVd7cpn5oPoTuvBBQqwzIS HVQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XE/xeF+yE9KkmA4Fk7qwYvrszIe/Aiu3MogpC2blGOI=; b=SRc7A5JlIRBMq4uqwA6QJNFxWNbA0lv34cU0dEvYkpwSnpTTvPjOYvmnD1mOANUE5O Vo0we8Har2Hg4MQJJ5Mz2NoQDDhq8/XN8Koo6oo0w7kXW38225g/bDDJu8AsXe4TOZwO 3rV3Ho0NMdqjw+h/B3kjjO23NLEGCkTZGQmzU33XIOhB7mfBwk2dL9c8YXycqlfdPQwm baBgNYTbouddfdfvg8xfLWukAU2oNoyKyFT6xE6GVO9qrlVosGauOyfqV09Fwh7eVbHx FCFC7EVBmODIyCxXVsiER5BQTSH/2CzwaKl1EFjneyBHpjJ1WwanMqLLiR6ZSXJH+Le1 NHJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lXD78VW/; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si1914567pgs.358.2018.02.16.13.25.37; Fri, 16 Feb 2018 13:25:52 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=lXD78VW/; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750878AbeBPVY5 (ORCPT + 99 others); Fri, 16 Feb 2018 16:24:57 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:46241 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbeBPVYz (ORCPT ); Fri, 16 Feb 2018 16:24:55 -0500 Received: by mail-qt0-f195.google.com with SMTP id u6so5480357qtg.13; Fri, 16 Feb 2018 13:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XE/xeF+yE9KkmA4Fk7qwYvrszIe/Aiu3MogpC2blGOI=; b=lXD78VW/dO5lsh1DAU+r3KwZozNKujSHwvcToyZwx5UVNjD67W9IjJ9lHyrDALr0rZ eGJRZgWY+hu+51jT0oILZNg6sizIpy94VKQGS1Q1NCktMl77VBnClC9yNbJTw/fxIVqG wEwrhkEdL+RPGMCzCqrUuYT+jJwNVUSGbRoVPEECPqsUUlCBD0EAju3IxcDaR53km6oI Heqi8HEFzGLMNvzh+gFy7G1CW9sEdyQ8WoOKGtGTGbx5junnmpLFoqxmmyuCDicXdt5E HlvJPzK7TDn6sinby+t7A5eXoqUoZqTkSJEmOIMtxPSKQaAZvdb6OZ/acRTr+0MWgSI9 MiaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XE/xeF+yE9KkmA4Fk7qwYvrszIe/Aiu3MogpC2blGOI=; b=A1i9IYd5dlpMTO9dY9UFZ2noVa7CVIzoXpqMyM8XpbuA4MguztEacyFmcUyeiDAM9j UjsGQMomBKazclcN+mHQ+yPnkrQ4LtAiSnnIT6Y9ZOGwD+aJyEnwx5b+Z5bFup2WHmiL Ks1bN3a5mkmMhai3hEhiDiIsU8JDJdWYAbmF8ljXLiXbeqNX07B9Wjiozz4Fjl9Ak2Eq 3xX2NFBaMeyxSoawgUDoORm/yHyGRRjDRa5QDG00wUpvHaN+9JRV7cK4yNfqDblh7lM0 sanCBv/hxRCBNQ0UoJavqH0z+LWLtXMBZX6aY9ldrk0SVYv0SJm3aRcovC1DGSq49zsk o4cQ== X-Gm-Message-State: APf1xPAc7AF7FdFdto73y7mwzw+81+ug/7sNxC/7lYNdIpDrOCVHMMHF HRH+tmQZ3zBKUcYmHaOCEQjCXhCPqrZDqpkJ3Eo= X-Received: by 10.200.3.110 with SMTP id w46mr6121236qtg.149.1518816294974; Fri, 16 Feb 2018 13:24:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.195.82 with HTTP; Fri, 16 Feb 2018 13:24:53 -0800 (PST) In-Reply-To: <55b1edec-f93d-a25b-1736-d08783576424@caviumnetworks.com> References: <20180216194415.6103-1-david.daney@cavium.com> <55b1edec-f93d-a25b-1736-d08783576424@caviumnetworks.com> From: Andy Shevchenko Date: Fri, 16 Feb 2018 23:24:53 +0200 Message-ID: Subject: Re: [PATCH v4] rtc: isl12026: Add driver. To: David Daney Cc: David Daney , Alessandro Zummo , Alexandre Belloni , Rob Herring , Mark Rutland , linux-rtc@vger.kernel.org, devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 16, 2018 at 11:19 PM, David Daney wrote: > On 02/16/2018 12:13 PM, Andy Shevchenko wrote: >> On Fri, Feb 16, 2018 at 9:44 PM, David Daney >> wrote: >>> +config RTC_DRV_ISL12026 >>> + tristate "Intersil ISL12026" >> depends on OF > It doesn't depend on CONFIG_OF, it builds just fine without it. OK. But then it's useless. depends on OF || COMPILE_TEST >>> +static struct i2c_driver isl12026_driver = { >>> + .driver = { >>> + .name = "rtc-isl12026", >>> + .of_match_table = of_match_ptr(isl12026_dt_match), >> /of_match_ptr// > of_match_ptr() needed if we build without CONFIG_OF OK. Have you tried to enable warnings? You must get `defined but not used` one. -- With Best Regards, Andy Shevchenko