Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754154AbdHUQnm (ORCPT ); Mon, 21 Aug 2017 12:43:42 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:37202 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753830AbdHUQnl (ORCPT ); Mon, 21 Aug 2017 12:43:41 -0400 From: Arvind Yadav To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/4] constify i2c_device_id Date: Mon, 21 Aug 2017 22:13:24 +0530 Message-Id: <1503333807-26245-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 18 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. Arvind Yadav (4): [PATCH 1/4] misc: apds9802als: constify i2c_device_id [PATCH 2/4] misc: hmc6352: constify i2c_device_id [PATCH 3/4] misc: isl29020: constify i2c_device_id [PATCH 4/4] staging: iio: tsl2x7x: constify i2c_device_id drivers/misc/apds9802als.c | 2 +- drivers/misc/hmc6352.c | 2 +- drivers/misc/isl29020.c | 2 +- drivers/staging/iio/light/tsl2x7x.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4