Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752533AbdHDMHP (ORCPT ); Fri, 4 Aug 2017 08:07:15 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33191 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184AbdHDMHN (ORCPT ); Fri, 4 Aug 2017 08:07:13 -0400 From: Arvind Yadav To: Peter.Chen@nxp.com, balbi@kernel.org, baoyou.xie@linaro.org, castet.matthieu@free.fr, stf_xl@wp.pl, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 00/11] constify usb attribute_group structures. Date: Fri, 4 Aug 2017 17:36:36 +0530 Message-Id: <1501848407-21894-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1523 Lines: 32 attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (11): [PATCH 01/11] usb: atm: ueagle-atm: constify attribute_group structures. [PATCH 02/11] usb: chipidea: constify attribute_group structures. [PATCH 03/11] usb: chipidea: otg_fsm: constify attribute_group structures. [PATCH 04/11] usb: usbtmc: constify attribute_group structures. [PATCH 05/11] usb: hcd: constify attribute_group structures. [PATCH 06/11] usb: usbsevseg: constify attribute_group structures. [PATCH 07/11] usb: phy-mv-usb: constify attribute_group structures. [PATCH 08/11] usb: phy-tahvo: constify attribute_group structures. [PATCH 09/11] usb: wusbcore: cbaf: constify attribute_group structures. [PATCH 10/11] usb: wusbcore: dev-sysfs: constify attribute_group structures. [PATCH 11/11] usb: wusbcore: wusbhc: constify attribute_group structures. drivers/usb/atm/ueagle-atm.c | 2 +- drivers/usb/chipidea/core.c | 2 +- drivers/usb/chipidea/otg_fsm.c | 2 +- drivers/usb/class/usbtmc.c | 4 ++-- drivers/usb/core/hcd.c | 2 +- drivers/usb/misc/usbsevseg.c | 2 +- drivers/usb/phy/phy-mv-usb.c | 2 +- drivers/usb/phy/phy-tahvo.c | 2 +- drivers/usb/wusbcore/cbaf.c | 2 +- drivers/usb/wusbcore/dev-sysfs.c | 2 +- drivers/usb/wusbcore/wusbhc.c | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) -- 1.9.1