From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01FEFC56202 for ; Wed, 25 Nov 2020 13:08:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B041206E5 for ; Wed, 25 Nov 2020 13:08:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K9boJqb9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="T2xVHBnp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B041206E5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VEB6cI2YjqP/i63mQhJAoJfacQfIZAJFJBWicDzAF70=; b=K9boJqb9zEjgPkpBSlSNr6H9y Nf9EQfe9To3kjRdMFQzwzEeIyypqK3bZgTGhIgLDOYuHC00QPpFEQrz0FPq9exwBaJ69mpo/z+bqT zocRbPRANovpk/C5Cdyuvg4Q424UAVjkOShT72e8a86SNojcGwVaJ0xffmadxLK7HPxvHP1zHz7F4 AtbkUWARJ6T9gH5AqkOqxZehOETl9Ccy8uI/RpUuof4kGgCx1LtiPon8TZPb4VbrWkvp8YJtJKMuc e0m5syrYnYWT2FKFr4ioFgscxJFJ9nwrEsRxNucIc50KYFPhLcO4vY1/5KRU0c/R45X3yjINQZB0U y491VzLxA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khuWh-0005ao-LM; Wed, 25 Nov 2020 13:08:03 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khuWe-0005aI-Bk for linux-arm-kernel@lists.infradead.org; Wed, 25 Nov 2020 13:08:01 +0000 Received: by mail-qt1-x841.google.com with SMTP id v11so1463646qtq.12 for ; Wed, 25 Nov 2020 05:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mMhr7if+ZnRG9MhMHI+KNa2LdhxLLABqJa+FncSk4Ss=; b=T2xVHBnpNinPB/LWXNXkxkZaoP24VjjodPX8UKsm9aU4/4wtS2oZiNVbe4q2HAc82w uIuIz3s3DmRGkSqO8C9p8QmFJ+3qOeB8jzVRoYrab4wNEV8mPfVTcknf3fWoP2Gd1cvy 6/7Dezb5IR3UGkhu4LcNp+SxlNdl9Xa8qmG9ScF3kkn5HcfpDMScgQO8CuNlGNu2naYA B9T0NFIvhaXQGVMtdjdWHJp1Kdm2rdi7bg1iOk8joFKeXKzNzRnIv7nYGL0lzxmZf6Ul bpVsDhpULPZGJWHGfELInwZ1AlWdV17bmHYtbKolm0S3edmhrIf5+wDbsB2slnXqHz3N XKQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mMhr7if+ZnRG9MhMHI+KNa2LdhxLLABqJa+FncSk4Ss=; b=oAWT9nWCS2SikrNN08zFX8Bi2oVe8INlvSFamiGlC9DDgVQinYburjoGaPxSLRe6p2 6OQkuTUQ+ES/0FKJrZaRaSNE8O0o5YCnxpDmliC2fHIueLERVxUIigecxhY3i9f8nIeI J1ccwG5z9aTBCrdpxRB+1iVuOK+CWMjt8GBH3k4+WAI6uEVm2nXD/C1++tNd0BOgd8UC nCw1LRWsbKQ+Wh05VQQiqKvzbPeQFOKbo4pDWkYssobNLLzARnCsg6WF4AX5ZkFMpANG 76ArLz5A8X73I1kOpM00raPBpN32RlbUcysuLYnxki+kv1rU7U+tOBZAFSkaDqYOHa1M RTDg== X-Gm-Message-State: AOAM532EfVvY+K3Q0/mhQKkIylt9tFOZcRRL9rXyA9AUO1+gHcBWtOnd wfsRyCePF+8VUHhNXDreP0E= X-Google-Smtp-Source: ABdhPJxJb4TUF0NizrQVHPOB3OFujzxO1AeeC8RmjaIrDGlIDfo14gqg/cJv0Tldd1XkjLq0l7zMfw== X-Received: by 2002:ac8:71d5:: with SMTP id i21mr3049929qtp.4.1606309676849; Wed, 25 Nov 2020 05:07:56 -0800 (PST) Received: from shinobu (072-189-064-225.res.spectrum.com. [72.189.64.225]) by smtp.gmail.com with ESMTPSA id c6sm2443740qkg.54.2020.11.25.05.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 05:07:55 -0800 (PST) Date: Wed, 25 Nov 2020 08:07:53 -0500 From: William Breathitt Gray To: david@lechnology.com Subject: Re: [PATCH v6 1/5] counter: Internalize sysfs interface code Message-ID: References: <950660d49af7d12b09bc9d3b1db6f8ff74209c26.1606075915.git.vilhelm.gray@gmail.com> MIME-Version: 1.0 In-Reply-To: <950660d49af7d12b09bc9d3b1db6f8ff74209c26.1606075915.git.vilhelm.gray@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201125_080800_441120_EB1638B3 X-CRM114-Status: GOOD ( 13.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kamel.bouhara@bootlin.com, gwendal@chromium.org, a.fatoum@pengutronix.de, mcoquelin.stm32@gmail.com, linux-iio@vger.kernel.org, patrick.havelange@essensium.com, alexandre.belloni@bootlin.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Dan Carpenter , fabrice.gasnier@st.com, syednwaris@gmail.com, linux-stm32@st-md-mailman.stormreply.com, jic23@kernel.org, alexandre.torgue@st.com Content-Type: multipart/mixed; boundary="===============5059461104557904741==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5059461104557904741== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="51cx/e7mr9ap1Ofv" Content-Disposition: inline --51cx/e7mr9ap1Ofv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 22, 2020 at 03:29:52PM -0500, William Breathitt Gray wrote: > @@ -117,62 +112,95 @@ static int ti_eqep_count_write(struct counter_devic= e *counter, > return regmap_write(priv->regmap32, QPOSCNT, val); > } > =20 > -static int ti_eqep_function_get(struct counter_device *counter, > - struct counter_count *count, size_t *function) > +static const u8 ti_qep_t2c_functions_map[] =3D { > +}; Just a heads-up: this ti_qep_t2c_functions_map array is left over from some code I was testing. It's not used at all -- I simply forgot to remove it -- so I'll make sure to take it out in the next patchset. I'll give this v6 patchset some more time for people to review and comment before I submit the v7 revision. William Breathitt Gray --51cx/e7mr9ap1Ofv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEk5I4PDJ2w1cDf/bghvpINdm7VJIFAl++VykACgkQhvpINdm7 VJKYVA//dqccbhIoBaceJes3TqLXOFW/M8mwfy+XZ+rP/ih/h8l24f0y0gLPWYnH g9rV4GH9VOeKz17Lkocb5dKgPhBR6ugL7IAWWOSh7SI4BTg9eT8iVQI9AVYAbXD5 vmZHxvt5zhEjO7l2l5fBstZObzpgTv4eJW+cjZle/ZaCdTVXm0/m8kPNzQU1xtgP sa/6twzxxE8i6PwHBk+aP7MKYSMYp8hjtAZPVtniAAFj0XdRgTIn4GckYmp4zt6E gdlh9KdSAnf/vcG7zR2OrXk4YMUOE4grLqBkx+KUWsNi7AlvLX+XHBXeVCAgnljx KIkro97m6rULfD6yHL48aAce/MMu0r4s5tZ5nRa7yL6pE3mY8Ajvi6k9lTu55NYN CKTLFUf85+GRs/GUZsW0VwGVmwsGT5wawJZiTkPxYFfa+dgMEBMoaCjUEEZrw7cm bxk2k/ffuIIi/UGQWtXWPUKXyCIaRm05+rNxK6s7OP/EhwCOdbBKvFLc998AwdyY Vl7+tPLntu7H9j3vuZBr/tPm3PiTCTcIzGa4WfaYhJMDw0WXKYLrXGdQ0SUvnk2k BnF2ob6wDL/E/x2wFJABYB6OH8biuob2S/LuBdlTNBAOCzMlDTPylFVhjSxSJ8jt tWyXUjmfq1xws9/39/0J6vW7QBxpgOOuc3vFP4Q3y6mnBSTEJcs= =388v -----END PGP SIGNATURE----- --51cx/e7mr9ap1Ofv-- --===============5059461104557904741== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5059461104557904741==--