From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751293AbdGQCMN (ORCPT ); Sun, 16 Jul 2017 22:12:13 -0400 Received: from gateway20.websitewelcome.com ([192.185.69.18]:47429 "EHLO gateway20.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbdGQCMM (ORCPT ); Sun, 16 Jul 2017 22:12:12 -0400 Date: Sun, 16 Jul 2017 21:12:11 -0500 From: "Gustavo A. R. Silva" To: linux-kernel@vger.kernel.org Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, "Gustavo A. R. Silva" Subject: [PATCH 0/3] constify dev_pm_ops structures Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.152.152.176 X-Exim-ID: 1dWvW8-001San-5p X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedgus) [189.152.152.176]:45068 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 1 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset aims to constify all dev_pm_ops structures that only stored in the pm field of a device_driver structure. This field is declared const, so dev_pm_ops structures that have this property can be declared as const also. Thanks! Gustavo A. R. Silva (3): ASoC: fsi: constify dev_pm_ops structure ASoC: psc-ac97: constify dev_pm_ops structure ASoC: au1x: psc-i2s: constify dev_pm_ops structure sound/soc/au1x/psc-ac97.c | 2 +- sound/soc/au1x/psc-i2s.c | 2 +- sound/soc/sh/fsi.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.5.0