Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752714AbdHUHvl (ORCPT ); Mon, 21 Aug 2017 03:51:41 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:33009 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751063AbdHUHvj (ORCPT ); Mon, 21 Aug 2017 03:51:39 -0400 Date: Mon, 21 Aug 2017 08:51:35 +0100 From: Lee Jones To: Arvind Yadav Cc: linux-kernel@vger.kernel.org, support.opensource@diasemi.com Subject: Re: [PATCH] mfd: da9055: constify i2c_device_id Message-ID: <20170821075135.asrfc7s4w5grzwud@dell> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 557 Lines: 18 On Sun, 20 Aug 2017, Arvind Yadav wrote: > i2c_device_id are not supposed to change at runtime. All functions > working with i2c_device_id provided by work with > const i2c_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > drivers/mfd/da9055-i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog