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


Groups > linux.kernel > #1284407

Re: [PATCH] ds2782_battery: constify ds278x_battery_ops structure

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ds2782_battery: constify ds278x_battery_ops structure
Date 2015-12-05 01:50 +0100
Message-ID <qC9cZ-1wZ-5@gated-at.bofh.it> (permalink)
References <qurJN-1FS-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Fri, Nov 13, 2015 at 07:41:34PM +0100, Julia Lawall wrote:
> The ds278x_battery_ops structure is never modified, so declare it as const.
> 
> Done with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Thanks, queued.

-- Sebastian

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ds2782_battery: constify ds278x_battery_ops structure Sebastian Reichel <sre@kernel.org> - 2015-12-05 01:50 +0100

csiph-web