From patchwork Wed Feb 18 16:20:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 5845101 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DDE5CBF440 for ; Wed, 18 Feb 2015 16:23:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32F5420225 for ; Wed, 18 Feb 2015 16:23:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D53CC20251 for ; Wed, 18 Feb 2015 16:23:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752210AbbBRQXF (ORCPT ); Wed, 18 Feb 2015 11:23:05 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:24172 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751783AbbBRQXD (ORCPT ); Wed, 18 Feb 2015 11:23:03 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NJZ00DVS6UEEI20@mailout1.samsung.com>; Thu, 19 Feb 2015 01:23:02 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-46-54e4bc66c8df Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 86.59.20081.66CB4E45; Thu, 19 Feb 2015 01:23:02 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJZ003WS6QJDJ20@mmp1.samsung.com>; Thu, 19 Feb 2015 01:23:02 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: kyungmin.park@samsung.com, pavel@ucw.cz, cooloney@gmail.com, rpurdie@rpsys.net, sakari.ailus@iki.fi, s.nawrocki@samsung.com, Jacek Anaszewski , Chanwoo Choi , Lee Jones Subject: [PATCH/RFC v11 06/20] mfd: max77693: Remove struct max77693_led_platform_data Date: Wed, 18 Feb 2015 17:20:27 +0100 Message-id: <1424276441-3969-7-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1424276441-3969-1-git-send-email-j.anaszewski@samsung.com> References: <1424276441-3969-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsVy+t9jAd20PU9CDLbO5bE4unMik8X1L89Z LeYfOcdq0Xv1OaPF2aY37Bb3vx5ltNj6Zh2jRc+GrawWd08dZbPYvespq8XhN+2sFmf2r2Rz 4PHYOesuu8fhrwtZPO5c28PmsWf+D1aPvi2rGD1WrP7O7vF5k1wAexSXTUpqTmZZapG+XQJX xp+7PcwFazkqFi5oZWpg/M3WxcjJISFgInHq2VJWCFtM4sK99UBxLg4hgUWMEou6l0M57UwS 01ccYQapYhMwlPj54jUTiC0iECnx7uglZpAiZoFfjBK9R2ewgySEBSIk5v1aAlbEIqAq8Xnp WRYQm1fAXWL9qTdAUzmA1ilIzJlkA2JyCnhIXHjuAVIhBFQx/eY71gmMvAsYGVYxiqYWJBcU J6XnGuoVJ+YWl+al6yXn525iBIfmM6kdjCsbLA4xCnAwKvHwNvx+HCLEmlhWXJl7iFGCg1lJ hDd35ZMQId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxK9m0hQgLpiSWp2ampBalFMFkmDk6pBsbp /6Nsjn2UzAozM3EUyD9zqkUov2nClXJn47WGDsfXz98jZj0lqX6qmZITu7dw0ZQcbdWLP68f bmIU+BWzqpq/5uWZlI9Hz2hEvpesu57P9PnUm59Rm2TWfo6YfWDuI1GHWtPfDz6L1T3/MPEp R0/HX1aWQFf5kvrTToXM5296dvYWHfWfE6vEUpyRaKjFXFScCAA5IizmSQIAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The flash part of the max77693 device will depend only on OF, and thus will not use board files. Since there are no other users of the struct max77693_led_platform_data its existence is unjustified. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Chanwoo Choi Cc: Lee Jones --- include/linux/mfd/max77693.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/linux/mfd/max77693.h b/include/linux/mfd/max77693.h index f0b6585..ce894b6 100644 --- a/include/linux/mfd/max77693.h +++ b/include/linux/mfd/max77693.h @@ -87,19 +87,6 @@ enum max77693_led_boost_mode { MAX77693_LED_BOOST_FIXED, }; -struct max77693_led_platform_data { - u32 fleds[2]; - u32 iout_torch[2]; - u32 iout_flash[2]; - u32 trigger[2]; - u32 trigger_type[2]; - u32 num_leds; - u32 boost_mode; - u32 flash_timeout; - u32 boost_vout; - u32 low_vsys; -}; - /* MAX77693 */ struct max77693_platform_data {