Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1275067

Re: [PATCH 2/3] rtc: sunxi: constify the data_year_param structure

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] rtc: sunxi: constify the data_year_param structure
Date 2015-11-23 08:20 +0100
Message-ID <qxTzP-73h-9@gated-at.bofh.it> (permalink)
References <qwv6y-8c4-27@gated-at.bofh.it> <qwv6y-8c4-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Nov 19, 2015 at 6:50 PM, LABBE Corentin
<clabbe.montjoie@gmail.com> 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 <clabbe.montjoie@gmail.com>

Acked-by: Chen-Yu Tsai <wens@csie.org>
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/3] rtc: sunxi: constify the data_year_param structure LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-11-19 12:00 +0100
  Re: [PATCH 2/3] rtc: sunxi: constify the data_year_param structure Chen-Yu Tsai <wens@csie.org> - 2015-11-23 08:20 +0100

csiph-web