Received: by 10.213.65.68 with SMTP id h4csp402797imn; Tue, 27 Mar 2018 01:10:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Oi8xRYt7btvppyxwOzZCbFG9Cv7AZqFcBFoLJEjTMNBI7GBzF4ySd3P1s+aGhy6ps9UC/ X-Received: by 10.98.141.20 with SMTP id z20mr5546364pfd.144.1522138211431; Tue, 27 Mar 2018 01:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522138211; cv=none; d=google.com; s=arc-20160816; b=PRTeDrvdAKOpvOgjyoS/WhcO10NR8Dd3aX5YPBlSm0alaia91rxDhxvfvBVHMbddZN 5igmVf7aOKwTMzDJSYm/DEKiPU8CCcoODpgCkPvDL2lHClU0LLeg2v+YZe9ZTodesGRd 98GnzeCYRk5kOyDefxvcqevsbfdAwTXF8BqlE5GXVJEWlRs21IwxtkSQj7i3ui0eAXp2 Xhqzzb/uF8Eb/i16yHi3hcSChFY85d+7SV4m+ozdSgyFKFKjQx2yVqgXrUPrQmxSr4jt BaoSb6E4jskj+UxHEC+dKHkbIFoO+KP2S7fQ7TcsvYTwTaTzrRTfzKSkY2ANa9y8/EmK WM1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=GanGSsaPjndZxenrnEoyWRORqpQqtNElPu0Bjgisy54=; b=qZ5byrje/FWflX24LKebVsLlbgOFJ/tttdBYuMmWFjPjUKFfpI4rV2qAmitQNBD6sk LR/QYQiPkh8ORwOz5ouSopoPj24kZqoqGFmmm3+KXpNsT+/nZ5X0cpVBqssJT8gEZW5g X+KdemM75/dZAGRNUkt4ZUvKl3VYdcHmbevSFk5FsB9DkLbhrzWON7X7byymCW3No+9L ovTjkkBeZm2s5BbZoXmtbEqWh7goHSAtLFjfQiHwNT9MaMhT3uIBLVBM3KITC/Nc+wFo P/CtH+tod0BzCen3UqXXw/KRBNf8rnGOFaU5SYtnQlKB7oQAc/+e2ZeoQSZ+MTrjKc/B Oajg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v14si528587pgq.266.2018.03.27.01.09.57; Tue, 27 Mar 2018 01:10:11 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752480AbeC0IIL (ORCPT + 99 others); Tue, 27 Mar 2018 04:08:11 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:35085 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751994AbeC0IFw (ORCPT ); Tue, 27 Mar 2018 04:05:52 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from vadimp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 27 Mar 2018 10:06:43 +0200 Received: from r-mgtswh-226.mtr.labs.mlnx. (r-mgtswh-226.mtr.labs.mlnx [10.209.1.51]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w2R85mx1029508; Tue, 27 Mar 2018 11:05:50 +0300 From: Vadim Pasternak To: dvhart@infradead.org, andy.shevchenko@gmail.com, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, jiri@resnulli.us, michaelsh@mellanox.com, ivecera@redhat.com, Vadim Pasternak Subject: [PATCH v1 1/7] platform_data/mlxreg: Document fixes for hotplug device Date: Tue, 27 Mar 2018 10:02:01 +0000 Message-Id: <1522144927-56512-2-git-send-email-vadimp@mellanox.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1522144927-56512-1-git-send-email-vadimp@mellanox.com> References: <1522144927-56512-1-git-send-email-vadimp@mellanox.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove redunadant description of label in struct mlxreg_hotplug_device. Change location of access_mode in struct mlxreg_hotplug_device. Signed-off-by: Vadim Pasternak --- include/linux/platform_data/mlxreg.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/platform_data/mlxreg.h b/include/linux/platform_data/mlxreg.h index 2744cff..19f5cb61 100644 --- a/include/linux/platform_data/mlxreg.h +++ b/include/linux/platform_data/mlxreg.h @@ -58,11 +58,10 @@ struct mlxreg_hotplug_device { * struct mlxreg_core_data - attributes control data: * * @label: attribute label; - * @label: attribute register offset; * @reg: attribute register; * @mask: attribute access mask; - * @mode: access mode; * @bit: attribute effective bit; + * @mode: access mode; * @np - pointer to node platform associated with attribute; * @hpdev - hotplug device data; * @health_cntr: dynamic device health indication counter; -- 2.1.4