From patchwork Tue May 19 16:15:02 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 24755 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4JGFnQ9007079 for ; Tue, 19 May 2009 16:15:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753613AbZESQPE (ORCPT ); Tue, 19 May 2009 12:15:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753496AbZESQPE (ORCPT ); Tue, 19 May 2009 12:15:04 -0400 Received: from web110801.mail.gq1.yahoo.com ([67.195.13.224]:25214 "HELO web110801.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754167AbZESQPD (ORCPT ); Tue, 19 May 2009 12:15:03 -0400 Received: (qmail 522 invoked by uid 60001); 19 May 2009 16:15:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242749703; bh=yLF0JbsUglMmHZFKfo5eT8UYAKYmmXLPKNRH2ELArXU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=VBNPLP/3ARvZqGplbxJNSEp7gZF2EeKwa8uvYChyYb4azOyXioMulYMKe/+FXvUIeUStoPHHPgBk8ZrvheRwWUwAicV6i6Asmmyf4AnaebYWUOZA6bt16ZVk62LzW/MSx+orzXD1pY+S9JBidjcZ0OJ6pxJUoJHtIdO2ckaem3A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=KpevZk6CBpQXJnn79DQIhQboU2p1MPyTpnUSOXQXXCviMzVNRUdByLfIuOeFkJGjIxnn9E0hW3rQkwnHlxo/UgvWUZTTKoY+5ntFH3IR5bR6aImx5zyAoQpBn3ZZzUlJKaZVvXy/euSSUiP/YOYAusfeXJAKbXxDFkJnAqwbtAI=; Message-ID: <489128.99706.qm@web110801.mail.gq1.yahoo.com> X-YMail-OSG: gh39cx8VM1kgbxqq0UJX2.AEq2eFjVw96SuBQ.Swcx9e8G_UlAV2ve85nCCEcjKeO9GNMJe._AaOwix8VUxk_m84HpL6LmRIAxtpYccnB1w6PYl.s_dLtG47M9xRDWwuJdQoGjeMd9k7adXxqPTvhtSEYDwscPs2IenM7xxZFpaeKr1QJUA15th1xi4.5JEv99FYzC4yY75HVcgmBtXhgKrqWbTnw7nZQ4FDoLT4TbHTaqEeuqM8mx6WJ9KVWx3QbMT3wE_SBavSsH8z9lYYWqbcJZe5laWSoR2Z3mPVVBO0X4VrXVNok4gAgBL03yHtX3n_MtYC9WhabQsNda3ejU.7rccFDctroIta1Esb913t7YEzVTMHfF9ing-- Received: from [199.203.99.233] by web110801.mail.gq1.yahoo.com via HTTP; Tue, 19 May 2009 09:15:02 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Tue, 19 May 2009 09:15:02 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [09051_54] Siano: remove obsolete sms_board_setup To: LinuxML MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org # HG changeset patch # User Uri Shkolnik # Date 1242749967 -10800 # Node ID 0296b0c436d6deba48c710cfb510988267cea057 # Parent dfcfb90798d3a27cb174019b17fffdee9ce7b2b9 [09051_54] Siano: remove obsolete sms_board_setup From: Uri Shkolnik Remove the target specific sms_board_setup from smsdvb. This is handled now via smsdvb and sms-cards events. Priority: normal Signed-off-by: Uri Shkolnik --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r dfcfb90798d3 -r 0296b0c436d6 linux/drivers/media/dvb/siano/sms-cards.c --- a/linux/drivers/media/dvb/siano/sms-cards.c Tue May 19 19:05:02 2009 +0300 +++ b/linux/drivers/media/dvb/siano/sms-cards.c Tue May 19 19:19:27 2009 +0300 @@ -303,28 +303,6 @@ static int sms_set_gpio(struct smscore_d return smscore_set_gpio(coredev, gpio, lvl); } -int sms_board_setup(struct smscore_device_t *coredev) -{ - int board_id = smscore_get_board_id(coredev); - struct sms_board *board = sms_get_board(board_id); - - switch (board_id) { - case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM: - /* turn off all LEDs */ - sms_set_gpio(coredev, board->led_power, 0); - sms_set_gpio(coredev, board->led_hi, 0); - sms_set_gpio(coredev, board->led_lo, 0); - break; - case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2: - case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD: - /* turn off LNA */ - sms_set_gpio(coredev, board->lna_ctrl, 0); - break; - } - return 0; -} -EXPORT_SYMBOL_GPL(sms_board_setup); - int sms_board_power(struct smscore_device_t *coredev, int onoff) { int board_id = smscore_get_board_id(coredev); diff -r dfcfb90798d3 -r 0296b0c436d6 linux/drivers/media/dvb/siano/sms-cards.h --- a/linux/drivers/media/dvb/siano/sms-cards.h Tue May 19 19:05:02 2009 +0300 +++ b/linux/drivers/media/dvb/siano/sms-cards.h Tue May 19 19:19:27 2009 +0300 @@ -109,8 +109,6 @@ int sms_board_event(struct smscore_devic int sms_board_event(struct smscore_device_t *coredev, enum SMS_BOARD_EVENTS gevent); -int sms_board_setup(struct smscore_device_t *coredev); - #define SMS_LED_OFF 0 #define SMS_LED_LO 1 #define SMS_LED_HI 2 diff -r dfcfb90798d3 -r 0296b0c436d6 linux/drivers/media/dvb/siano/smsdvb.c --- a/linux/drivers/media/dvb/siano/smsdvb.c Tue May 19 19:05:02 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smsdvb.c Tue May 19 19:19:27 2009 +0300 @@ -600,7 +600,6 @@ static int smsdvb_hotplug(struct smscore sms_board_dvb3_event(client, DVB3_EVENT_HOTPLUG); sms_info("success"); - sms_board_setup(coredev); return 0;