From patchwork Fri Oct 7 19:46:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9367447 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D3E7A600C8 for ; Fri, 7 Oct 2016 19:46:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C255729832 for ; Fri, 7 Oct 2016 19:46:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6DE229837; Fri, 7 Oct 2016 19:46:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 622C9297F0 for ; Fri, 7 Oct 2016 19:46:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754112AbcJGTqg (ORCPT ); Fri, 7 Oct 2016 15:46:36 -0400 Received: from mout.web.de ([212.227.17.12]:62224 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbcJGTqe (ORCPT ); Fri, 7 Oct 2016 15:46:34 -0400 Received: from [192.168.1.3] ([78.48.87.168]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LetUp-1b6HKL1WU3-00qnHR; Fri, 07 Oct 2016 21:46:22 +0200 Subject: [PATCH 2/2] [media] dvb-tc90522: Rename a jump label in tc90522_probe() To: linux-media@vger.kernel.org, Akihiro Tsukada , Mauro Carvalho Chehab , Michael Ira Krufky References: <566ABCD9.1060404@users.sourceforge.net> <906cc86f-bac0-fd47-8a6f-d3310b10fd08@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <7cee472f-4dad-7306-ed14-098bef5f862c@users.sourceforge.net> Date: Fri, 7 Oct 2016 21:46:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <906cc86f-bac0-fd47-8a6f-d3310b10fd08@users.sourceforge.net> X-Provags-ID: V03:K0:sgDg69dpesder82/xh/aZkUvyDRKGQVvLjmL/zJIUH+lrh5uuqJ mfwyYWWTdWzpHW/1gz7gNqxbrogSiDvLD+tpd9qdpF79TbUO8hd5tqWvYRZckVpbKZF4zx3 F7fkDPdE88FnbwFRtWEf9lK2J4qPC+AjSXFQRaV/QvtpJgYCWbvsxIaDulCMuRe9uEToncD +I1ob0C15o5fCvVZuZvPQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:iQ0Tod/N7Rk=:2G0Zl6Gv2aNWit3ZwXWgKd dA67i8HnBK2UmukfkicTTkvruKBa+yLPvq3QW5lTa0bRB9uBOkZ8BY7/K1w4v1yltiS+AwBcC 0F3W4W8Rk8xulyoSOs6ltK3XWfo8lwxPq2uCYTrP0NwXboclsbL9OJdTyKx6ywQpRWZ3d80WI 6MZUXyNoklX97/Y6rL0Bzp1XSs9VLJ1rUoPaE9CLWS1kYHWGRxK9S8S0mufA0YfQ7FQm84usx ZeZfRv6jJZ5cogSukBqifgcMYAAn3JsDBi9RSclCLlMujEDUb6npY4X7+4TY5BazxTceDTyIC jveAk3+78Z9Q9WGo2yqKJH+tuFbadMa8o+CXfHf/kNOr91whOz4MJakEbACO1A5qbeBKgpJZj ohUVyJmvftekF89Wz705kVXgNmkj7vUaYmLdc/wS8EpmLH2Kg3Kl0Qhivot3MSLcPJNTp7dCb KZl9I6brkkSy/2ijLeYjQNQ01HvxGWulBWXg+fcJj0Y5Ilj9LGKIjJdszSqlcAZokFGJotnWg 7csd3bQF5+7voPnWSVHuqMFeKEFB9oGbRYdziBsNWJvwD3VnI5rOvBOLYV1XojHOVmwre/Ux9 LinxYEqONwQe2k91ehZ7MhKDMCFyBWr7g2VVs4eSHVpB5LBEeIVZV+arc0pXIlP+YED8MlllW v9gsO8iGKRDEjggLZ8zxuVgS3tlLWbBDuoPxmEKI7PsTBKxCcsD0rKrO8uQ96eNA5X9rE7CfW /g+XmEP3TQyBO4xMd9FRWElAat+Fil7WAOOIMjq5TlSBdWXDGpVXxHY4YKOCruV9Us3+M0lXR /Hc3jfA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Fri, 7 Oct 2016 21:13:57 +0200 Adjust a jump label according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/dvb-frontends/tc90522.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index c2d45f0..4687e15 100644 --- a/drivers/media/dvb-frontends/tc90522.c +++ b/drivers/media/dvb-frontends/tc90522.c @@ -794,14 +794,13 @@ static int tc90522_probe(struct i2c_client *client, i2c_set_adapdata(adap, state); ret = i2c_add_adapter(adap); if (ret < 0) - goto err; + goto free_state; cfg->tuner_i2c = state->cfg.tuner_i2c = adap; i2c_set_clientdata(client, &state->cfg); dev_info(&client->dev, "Toshiba TC90522 attached.\n"); return 0; - -err: +free_state: kfree(state); return ret; }