From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp24.mail.ru ([94.100.176.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1STzxG-00031Q-Nb for barebox@lists.infradead.org; Mon, 14 May 2012 18:25:11 +0000 From: Alexander Shiyan Date: Mon, 14 May 2012 22:26:33 +0400 Message-Id: <1337019993-17260-1-git-send-email-shc_work@mail.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] PCM038: Removed unnecessary call to gpio_set_value To: barebox@lists.infradead.org The value already is set by calling gpio_direction_output. Signed-off-by: Alexander Shiyan --- arch/arm/boards/pcm038/pcm038.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c index d247edc..f39660c 100644 --- a/arch/arm/boards/pcm038/pcm038.c +++ b/arch/arm/boards/pcm038/pcm038.c @@ -260,7 +260,6 @@ static int pcm038_devices_init(void) PCCR1 |= PCCR1_PERCLK2_EN; gpio_direction_output(GPIO_PORTD | 28, 0); - gpio_set_value(GPIO_PORTD | 28, 0); spi_register_board_info(pcm038_spi_board_info, ARRAY_SIZE(pcm038_spi_board_info)); imx27_add_spi0(&pcm038_spi_0_data); -- 1.7.3.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox