Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbdHDJK6 (ORCPT ); Fri, 4 Aug 2017 05:10:58 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:34916 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbdHDJK5 (ORCPT ); Fri, 4 Aug 2017 05:10:57 -0400 MIME-Version: 1.0 In-Reply-To: <1501828677-10439-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1501828677-10439-1-git-send-email-arvind.yadav.cs@gmail.com> From: Arnd Bergmann Date: Fri, 4 Aug 2017 11:10:56 +0200 X-Google-Sender-Auth: NREqH1JodUUR7nDBEKCCrzM_ANY Message-ID: Subject: Re: [PATCH 0/6] constify misc attribute_group structures. To: Arvind Yadav Cc: eric.piel@tremplin-utc.net, gregkh , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 16 On Fri, Aug 4, 2017 at 8:37 AM, Arvind Yadav wrote: > 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. Looks good to me, thanks Arnd