From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Francois Moine Subject: [PATCH v2 0/2] Fix some 'const' problems Date: Sun, 9 Nov 2014 20:40:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by alsa0.perex.cz (Postfix) with ESMTP id 5AEAC260550 for ; Sun, 9 Nov 2014 20:47:02 +0100 (CET) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Liam Girdwood , Mark Brown Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Russell King , linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org A cast was often needed to call some OF functions, removing a 'const' attribute. This patchset removes 'const' from the device_node pointers of the sound/soc structures and also removes some useless casts in the sound/soc tree. v2: remove const from the pointers instead of modifying the OF functions (Russell King) Jean-Francois Moine (2): ASoC: Remove 'const' from the device_node pointers ASoC: simple-card: Remove useless casts include/sound/soc.h | 6 +++--- sound/soc/generic/simple-card.c | 7 ++----- sound/soc/samsung/odroidx2_max98090.c | 4 ++-- sound/soc/ux500/mop500.c | 6 ++---- 4 files changed, 9 insertions(+), 14 deletions(-) -- 2.1.3 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751533AbaKITrG (ORCPT ); Sun, 9 Nov 2014 14:47:06 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:5838 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751095AbaKITrF (ORCPT ); Sun, 9 Nov 2014 14:47:05 -0500 X-Mailbox-Line: From 7d82dde0dc838d41bfb44ab734d10f838b49c47b Mon Sep 17 00:00:00 2001 Message-Id: From: Jean-Francois Moine Date: Sun, 9 Nov 2014 20:40:21 +0100 Subject: [PATCH v2 0/2] Fix some 'const' problems To: Liam Girdwood , Mark Brown Cc: Russell King , Lars-Peter Clausen , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A cast was often needed to call some OF functions, removing a 'const' attribute. This patchset removes 'const' from the device_node pointers of the sound/soc structures and also removes some useless casts in the sound/soc tree. v2: remove const from the pointers instead of modifying the OF functions (Russell King) Jean-Francois Moine (2): ASoC: Remove 'const' from the device_node pointers ASoC: simple-card: Remove useless casts include/sound/soc.h | 6 +++--- sound/soc/generic/simple-card.c | 7 ++----- sound/soc/samsung/odroidx2_max98090.c | 4 ++-- sound/soc/ux500/mop500.c | 6 ++---- 4 files changed, 9 insertions(+), 14 deletions(-) -- 2.1.3