From patchwork Fri Jun 23 05:26:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Yadav X-Patchwork-Id: 9805707 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0AD5C60349 for ; Fri, 23 Jun 2017 05:27:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C32B22869B for ; Fri, 23 Jun 2017 05:27:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1594286BD; Fri, 23 Jun 2017 05:27:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 691452869B for ; Fri, 23 Jun 2017 05:27:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753375AbdFWF1Q (ORCPT ); Fri, 23 Jun 2017 01:27:16 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35900 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753269AbdFWF1P (ORCPT ); Fri, 23 Jun 2017 01:27:15 -0400 Received: by mail-pg0-f66.google.com with SMTP id e187so4970867pgc.3; Thu, 22 Jun 2017 22:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=sv8HJQWF2Eto/7vugSORrZ4Xqdym+KrTOgEChT6X44o=; b=ABDTlC1e+8ZO31Va1OBEphoEIPSe9Pz6aOlF0Xp5QARbaCn2cmI/lEEqT0YsTeXOtM 5AMgSfvaWI2WZaLmUfEeusr22UeqPKJb20I6L0TPLUFaIB350ZlQ+GZ1cvC9bZcGxPN0 NTJZmvhahd2qynuHyGrE3IX2s7c0wy8p4Db5Lu/nLA7QMrV6EFc4c0rU5eFqlt88JQeI 4EvKAjt9Cn02kff+5RcpmSNMCcA5Pnpfz05wqfY/uOXkTtbuUO2KVbjoSlU2jU0+MuEu WlmZu7sbZzmI+OZncXD2Q71crBvOBT8CgtBF+faHoR8qCqwN9UDPht3Mv9L3TE03fOb4 NwiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sv8HJQWF2Eto/7vugSORrZ4Xqdym+KrTOgEChT6X44o=; b=fYfypcAbgzDySVDqdq79HGrjTZg6NVhK1Okdj6DUDSmxvQzYspHKeC2GetP6nseoYu QPeIryarU/nrOMSVfq5tv9r7yfyb03iSD84dN66BfOQx+uwMjwcFt3cihJFwb9l8LNPr CiG1Kr0yAHEw9GVDVFEx4VPwqOzgA2AYpkjjbrclvdp6dMYoHd8EcckZsv2GE7OXstrX OC+TXsrobU+YQGLSzRbCHOhy7XGBumHmMoLj1k2P9h3B/n43wZCVBRzp1JcG4TmPNANz l4KFSJ0Ietyaj8rvCt0X+pjhLuJKzGe4D9gjG+mBw6YTaaQQRH/i71djh1czbmIYs4Ug IKxg== X-Gm-Message-State: AKS2vOwYM9/S0A+jklJyjS5vmandB9PgPFHSRZlnahk+WhQw3YEnIhRO tqGtWeeoV68wr8P5M5g= X-Received: by 10.84.194.226 with SMTP id h89mr6785073pld.58.1498195634787; Thu, 22 Jun 2017 22:27:14 -0700 (PDT) Received: from symbol-HP-Z420-Workstation.zebra.lan ([223.31.70.102]) by smtp.googlemail.com with ESMTPSA id s88sm7894898pfk.16.2017.06.22.22.27.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Jun 2017 22:27:14 -0700 (PDT) From: Arvind Yadav To: tomi.valkeinen@ti.com, b.zolnierkie@samsung.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] omapfb: panel-dsi-cm: constify dsicm_attr_group Date: Fri, 23 Jun 2017 10:56:32 +0530 Message-Id: <624ffdf87293646671d3fef7079d19528108a381.1498195469.git.arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP File size before: text data bss dec hex filename 4657 464 0 5121 1401 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.o File size After adding 'const': text data bss dec hex filename 4713 400 0 5113 13f9 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.o Signed-off-by: Arvind Yadav --- drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c index fd2b372d..d7bb3d5 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c @@ -559,7 +559,7 @@ static DEVICE_ATTR(ulps_timeout, S_IRUGO | S_IWUSR, NULL, }; -static struct attribute_group dsicm_attr_group = { +static const struct attribute_group dsicm_attr_group = { .attrs = dsicm_attrs, };