Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751484AbdHDGii (ORCPT ); Fri, 4 Aug 2017 02:38:38 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:37722 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbdHDGie (ORCPT ); Fri, 4 Aug 2017 02:38:34 -0400 From: Arvind Yadav To: eric.piel@tremplin-utc.net, gregkh@linuxfoundation.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/6] constify misc attribute_group structures. Date: Fri, 4 Aug 2017 12:07:51 +0530 Message-Id: <1501828677-10439-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: 942 Lines: 22 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 (6): [PATCH 1/6] misc: apds9802als: constify attribute_group structures. [PATCH 2/6] misc: apds990x: constify attribute_group structures. [PATCH 3/6] misc: bh1770glc: constify attribute_group structures. [PATCH 4/6] misc: isl29020: constify attribute_group structures. [PATCH 5/6] misc: lis3lv02d: constify attribute_group structures. [PATCH 6/6] misc: ti-st: constify attribute_group structures. drivers/misc/apds9802als.c | 2 +- drivers/misc/apds990x.c | 2 +- drivers/misc/bh1770glc.c | 2 +- drivers/misc/isl29020.c | 2 +- drivers/misc/lis3lv02d/lis3lv02d.c | 2 +- drivers/misc/ti-st/st_kim.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- 1.9.1