Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348AbbKWHTD (ORCPT ); Mon, 23 Nov 2015 02:19:03 -0500 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:42470 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753036AbbKWHSu (ORCPT ); Mon, 23 Nov 2015 02:18:50 -0500 MIME-Version: 1.0 In-Reply-To: <1447930210-27008-2-git-send-email-clabbe.montjoie@gmail.com> References: <1447930210-27008-1-git-send-email-clabbe.montjoie@gmail.com> <1447930210-27008-2-git-send-email-clabbe.montjoie@gmail.com> From: Chen-Yu Tsai Date: Mon, 23 Nov 2015 15:18:27 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] rtc: sunxi: constify the data_year_param structure To: LABBE Corentin Cc: Alexandre Belloni , Alessandro Zummo , linux-arm-kernel , Maxime Ripard , Chen-Yu Tsai , linux-kernel , rtc-linux@googlegroups.com 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: 562 Lines: 13 On Thu, Nov 19, 2015 at 6:50 PM, LABBE Corentin wrote: > The data_year_param struct is never modified, so lets constify it. > This permit to remove cast since of_device_id is const also. > > Signed-off-by: LABBE Corentin Acked-by: Chen-Yu Tsai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/