Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2899163imu; Sun, 11 Nov 2018 03:30:23 -0800 (PST) X-Google-Smtp-Source: AJdET5dho4Zod1EYSBcW6GoHltjyGgpugJEXtttabe0FnN0fBVSTj0CSqcSpbEy9L3jH2Op5fDBA X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr15561159pld.59.1541935822964; Sun, 11 Nov 2018 03:30:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541935822; cv=none; d=google.com; s=arc-20160816; b=HtX6obOyp3mchqknDRJ4HM0+ZrImguEWVTwDacRReEKvWNjZjo9D7aLJFEHDLLBleb iia1iXb6tFnpIxtV/09vXFtlA82Fh48oP2mqhZqBYFmYjiIiKgF0lprQ5NAloWBhhiGW 9lCOwjI2mbyyH+EdAo69ePDMxUT8PeRTtKCdMXpwIQ2RqRmidhRVuxo4lI/45JOR+5Sb Epp6GFrRo6OecKbJ/SIDWvIPxtAj4SabSF+G22e2S/NRMsm1uJWmBxZqDRLXkaCAWFxB U+t0bXiCO7PT3yXjpaJAv35YUPmdkLS9fsJfApxTxzrtAmg6Acyl+Y8sHD/kYaTMdpIi lZNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=XwvlrRwCYyRhXrhITG0oipo97/Vc6RQeFnynDzD7I3g=; b=dAvCPvI+LVAIbfgNrEmuZQmWbhk8dBmZjYeQKHENku2VPViXwGtb5wjqhylBBcaxV9 iPqmN2tXxBj6SyBWdLQ1S0+F59v8rsLE73pVL4PZ0xejV2Ks9daQ7rrKweUCKSXXKzvg NHUJ466Scb1iY5hseGTjRIBPmUJSQ3O0G6hYzg0P1S5Z0wLX+KxRgH09kjU4DbsFXa3N HR8mBkXTpZ2lqY48E2sVlIp+qYDb102yNtveQBfZ1vW2WRqp2q2FMN/27zrx/wkAdYDD YigumwztnpKRdPsv4TSP5WyFVUUTep+E9jpi8EXyihr5zfUws/bPeV0YIZjZlV6ySor+ rhfg== 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 a5-v6si9780349plh.157.2018.11.11.03.30.07; Sun, 11 Nov 2018 03:30:22 -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; 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 S1727711AbeKKVSG (ORCPT + 99 others); Sun, 11 Nov 2018 16:18:06 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44149 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727427AbeKKVSF (ORCPT ); Sun, 11 Nov 2018 16:18:05 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 25844806BB; Sun, 11 Nov 2018 12:29:43 +0100 (CET) Date: Sun, 11 Nov 2018 12:29:44 +0100 From: Pavel Machek To: Dan O'Donovan Cc: linux-kernel@vger.kernel.org, Andy Shevchenko , Mika Westerberg , Heikki Krogerus , Lee Jones , Linus Walleij , Jacek Anaszewski , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, Carlos Iglesias Subject: Re: [PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver Message-ID: <20181111112944.GA27666@amd> References: <1539969334-24577-1-git-send-email-dan@emutex.com> <1541018689-20625-1-git-send-email-dan@emutex.com> <1541018689-20625-2-git-send-email-dan@emutex.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <1541018689-20625-2-git-send-email-dan@emutex.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +static void __reg_io_start(const struct upboard_ddata * const ddata) > +{ > + /* > + * CLEAR signal must be pulsed low before any register access. > + * This resets internal counters in the controller and marks > + * the start of a new register access. > + */ > + set_clear(ddata, 0); > + set_clear(ddata, 1); > +} We normally reserve __ prefix for different stuff. This is not using it appropriately. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvoEqgACgkQMOfwapXb+vJW6QCggp4a+m3xauUoHQ3g7SOBg8Kw w/8AoLHm+xmWtStIi0AZooRWYKr4kZnw =puC8 -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--