Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754745AbdHVHlv (ORCPT ); Tue, 22 Aug 2017 03:41:51 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:33656 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754645AbdHVHlu (ORCPT ); Tue, 22 Aug 2017 03:41:50 -0400 Date: Tue, 22 Aug 2017 08:41:45 +0100 From: Lee Jones To: Arvind Yadav Cc: support.opensource@diasemi.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: da9052: constify spi_device_id Message-ID: <20170822074145.ohsug67puxfltbwm@dell> References: <20bd4bf8d017bdc1516b544235f986e8d0b9ecaf.1503338018.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20bd4bf8d017bdc1516b544235f986e8d0b9ecaf.1503338018.git.arvind.yadav.cs@gmail.com> 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 Mon, 21 Aug 2017, Arvind Yadav wrote: > spi_device_id are not supposed to change at runtime. All functions > working with spi_device_id provided by work with > const spi_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > drivers/mfd/da9052-spi.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