From patchwork Thu Oct 25 16:40:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alok Chauhan X-Patchwork-Id: 10656197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 212C713A9 for ; Thu, 25 Oct 2018 16:40:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FBF02BFCF for ; Thu, 25 Oct 2018 16:40:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 043702BFCE; Thu, 25 Oct 2018 16:40:49 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 8C2FE2BFC4 for ; Thu, 25 Oct 2018 16:40:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727878AbeJZBOU (ORCPT ); Thu, 25 Oct 2018 21:14:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39378 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727363AbeJZBOU (ORCPT ); Thu, 25 Oct 2018 21:14:20 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1379C606DC; Thu, 25 Oct 2018 16:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1540485647; bh=ZzwAlQCDpk32WnNmREKYL0JXMgpMBolnm4b0NBcHSks=; h=From:To:Cc:Subject:Date:From; b=XG0/ULkV6G2QLyPiEXxfDK8VIX9K5UCqchw+eXv9V0Cun1srKTcOPPnaaVIIJr+ri 8yhCxnauvDds07LTHyiM7YXWgZtr04N6+6nCYyq7yNkGsMACOIxyiHmfayLgDTfmCz jYpCcYrLoaqA6LPvGRmM+vsjoxDlL1/2oSdPMf00= Received: from alokc-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: alokc@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 23D68606DC; Thu, 25 Oct 2018 16:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1540485646; bh=ZzwAlQCDpk32WnNmREKYL0JXMgpMBolnm4b0NBcHSks=; h=From:To:Cc:Subject:Date:From; b=GZmvrdoabW2O8tpLXUQbf2qHZKcSCU92r5+hpsgljysoqDkfgm1rucx6osdHktBJV Ou+dvYdqmERKpH9bmv6MM5mPNkrHUMbBobfS8y4fPwxu2yS8ZZk286czirmb2KE3u5 nsc5zXkE1bR8dRszG/DS47PTMAKHMWvpvE/krSog= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 23D68606DC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=alokc@codeaurora.org From: Alok Chauhan To: swboyd@chromium.org, dianders@chromium.org Cc: linux-arm-msm@vger.kernel.org, Alok Chauhan Subject: [PATCH 0/2] spi-geni-qcom: Cleanup nitpicks and simplify probe function Date: Thu, 25 Oct 2018 22:10:27 +0530 Message-Id: <1540485629-5970-1-git-send-email-alokc@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series fixed the following: * nitpicks from the previous review (https://patchwork.kernel.org/patch/10624849/) * Cleanup probe function by re-arranging existing APIs to starting of function and hence avoiding one goto jump and remove few redundant variables. Alok Chauhan (2): spi: spi-geni-qcom: fix nitpicks spi: spi-geni-qcom: Simplify probe function drivers/spi/spi-geni-qcom.c | 64 +++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 34 deletions(-)