From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932898AbcIAKcd (ORCPT ); Thu, 1 Sep 2016 06:32:33 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:34006 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932636AbcIAKc3 (ORCPT ); Thu, 1 Sep 2016 06:32:29 -0400 MIME-Version: 1.0 In-Reply-To: <1472630725-25465-1-git-send-email-Julia.Lawall@lip6.fr> References: <1472630725-25465-1-git-send-email-Julia.Lawall@lip6.fr> From: Linus Walleij Date: Thu, 1 Sep 2016 12:32:28 +0200 Message-ID: Subject: Re: [PATCH] rtc: constify rtc_class_ops structures To: Julia Lawall Cc: Alessandro Zummo , kernel-janitors@vger.kernel.org, "linux-tegra@vger.kernel.org" , Alexandre Courbot , Thierry Reding , Stephen Warren , Hans Ulli Kroll , Alexandre Belloni , "linux-arm-kernel@lists.infradead.org" , "rtc-linux@googlegroups.com" , "linux-kernel@vger.kernel.org" , Wan ZongShun , Eddie Huang , "moderated list:ARM/Mediatek SoC support" , Baruch Siach Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 31, 2016 at 10:05 AM, Julia Lawall wrote: > Check for rtc_class_ops structures that are only passed to > devm_rtc_device_register, rtc_device_register, > platform_device_register_data, all of which declare the corresponding > parameter as const. Declare rtc_class_ops structures that have these > properties as const. (...) > Signed-off-by: Julia Lawall Acked-by: Linus Walleij Yours, Linus Walleij