Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3431639ybp; Sun, 6 Oct 2019 11:47:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOWikcB8q7+lH6NKw50ADeNmeTh1Zg4psBL1Ggk6HrHeeUEJCZc/4+OXiB54+T1N2tjpQi X-Received: by 2002:a17:906:d8c8:: with SMTP id re8mr20965317ejb.130.1570387637898; Sun, 06 Oct 2019 11:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570387637; cv=none; d=google.com; s=arc-20160816; b=Rlvm9WXXHIj9w3VMKmsbQrnhx+OGQPtrc0LPW/fmQzlmevecZQ8AwW5e005vyupI1b le0ierO8ml4+1WZLda6edWVYMNAaGXqIm0xdb3BRd/4sxjkWrGoXcmSltYLvhl0s1GvU ZMdf90fSrwAH26pIfX6ZB+/42oxhjkCD9JSJ/ZOV1oDYrrV3KRHjWTcrXIy30bzZdesK 4JnXB6qLRlzBySQ+CRwG0Ib6jIpnaqTE29JwcJUQL/axpx0xpAS9rXkEdk9TqQebQ+yH E6TaDobEdcrTbKR+aj2fThwrsHriQH1m3CjgHmIlAPTHCz1YUZAw1BjkT/4J6JMzJuL9 o2DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=EB7HgQCd6wfHbcV/vGVRoCbCpG0HC8nsMy/oBEd1URQ=; b=X2aQxlPiiyjd6RS50A8V0FryK88uib1DwLv+8dNeVydrM3ZI31Od4i19ujkasl9NXq uoEAM5oYQ3CVlYvN31cRsrFB4XFbjRCajtpSwLhuqlqAJeBIUxGV5h9g508QWszbqBfV 4YNfVEVNWbAbBJyy++kh1NtjRD+WtqY/nklagXv8yX5mFiBfq2hCuho2NOzZTu25zgO4 fecxvNvIagRpbBkF8a4JxCa/YVo7S94eV9t6OMmcGE8o0mjIWWb9FRVFuF5s15zIjhGn v9kmNLId39MrhjeZDL3vBBWiHg8OAC+95OT2T+Qktr61Tn0NRJ1qDOtbcjpTePweN758 6N2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=0vzoW+jm; 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 gh16si6461441ejb.150.2019.10.06.11.46.53; Sun, 06 Oct 2019 11:47:17 -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=fail header.i=@lechnology.com header.s=default header.b=0vzoW+jm; 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 S1726702AbfJFSij (ORCPT + 99 others); Sun, 6 Oct 2019 14:38:39 -0400 Received: from vern.gendns.com ([98.142.107.122]:42564 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726474AbfJFSij (ORCPT ); Sun, 6 Oct 2019 14:38:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EB7HgQCd6wfHbcV/vGVRoCbCpG0HC8nsMy/oBEd1URQ=; b=0vzoW+jm1B3XKAvl9MDT9KBTt1 owxlfy79uyVQco2v1xHDwo2GTYPtMx6pjhSOHOZ2DTJKlPLjeENuHuf4YdspzMtk+2fa9NHlMTAnW 9Vmmjy8osDo/GebfC0UPRe0Ng4+khLlB+0LMOIepWaX9ERQ7dYoDtZ1Wc6FMHlpj4dTVpL6cx417R 8NbK693FPbVQQ3YpUElxr5utVk26R+TDXWO5BY7rbXHmpfYMpJlZkL/DwBdZdbroAemDDl+MxAdMJ sn5KtiK8VZ2P+HBOLT4q2Sc37Lo5+WJBCJohH88UBclmAYSQQnPfPhQUzmNhxeeSAfVGIB8IyNUIo tw4Kut6A==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:54518 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1iHBQR-0001Yn-Dn; Sun, 06 Oct 2019 14:38:35 -0400 Subject: Re: [PATCH v4 1/2] counter: Simplify the count_read and count_write callbacks To: William Breathitt Gray , jic23@kernel.org Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, benjamin.gaignard@linaro.org References: <7c129bd95675412e21c7a54e366e21723cac94ea.1570377521.git.vilhelm.gray@gmail.com> From: David Lechner Message-ID: <110c2460-f440-e36d-7975-61c53a94208d@lechnology.com> Date: Sun, 6 Oct 2019 13:38:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <7c129bd95675412e21c7a54e366e21723cac94ea.1570377521.git.vilhelm.gray@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/6/19 11:03 AM, William Breathitt Gray wrote: > The count_read and count_write callbacks are simplified to pass val as > unsigned long rather than as an opaque data structure. The opaque > counter_count_read_value and counter_count_write_value structures, > counter_count_value_type enum, and relevant counter_count_read_value_set > and counter_count_write_value_get functions, are removed as they are no > longer used. > > Cc: David Lechner > Cc: Patrick Havelange > Acked-by: Fabrice Gasnier > Signed-off-by: William Breathitt Gray > --- Acked-by: David Lechner