Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3405197ybb; Sun, 22 Mar 2020 23:54:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvFZb3Jvry77hs00mFR3ioj5ayTQBRQwt0R80soeAdavUlM2mwOgbo2lZX+o9VmlAqg7Bui X-Received: by 2002:aca:fc0f:: with SMTP id a15mr16274155oii.68.1584946459939; Sun, 22 Mar 2020 23:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584946459; cv=none; d=google.com; s=arc-20160816; b=H8XpjbeccK82ycFVRAb5Gp7EVEeEr5CoLNDHJiiPAJtO5BNmigiyPwDyILjh4S05jH 9FfDgp74vuSHyEc/Y8bITNPo5MuoMXtrGRAmhzemqZq0VlESM86vPflMrcnY7g+Ncb3i Afuu/j93T5QP/Sb4vqGnl7E2MXj3GUP0zQfepw5dSi6VVECOlyXUMkuUDe7geBOrVSLq +ujPHLpfF+Od6XcNRdVV+zJHDJA8u2h2YWuE88FybZ98uBSrWY3if83HpXjKyCBgM0YR Pov0San4IlCreXLWUgY10TdmyZGpohlEEKtmMUb5rVYxC+1B+m6RJ7Hh9JDuL8+7RdNm hbqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=wGDd6myf+GdHCozxtrhmVLjHaTI84rSVkvwPMbf2b58=; b=BwdadCl2N/b1E3IFpK3yBRrS5RapQdRB4W+ezkGgemQliyZJjmtj1uQ9YVA1GZEbrt NIotTcfq7SUpRBMlC1Qre8UXQ37s3HYoQb9Ct2vV/5nLtigBx0Wo6WLUptiLmbWDruwD q4k/NdWQAuNumXUGU+rEamDsWVWdb+TXdTBLc9F2zlaAXIQHK+/HN0dRKbxaph1GH3bR x6k8oTzsjuxnpl0ThO1QIJSI02vYcclFNvYMbTvAZJqRuwG7c397bY/ZrAYlIfptBcuS CuUNsbWeoho6RclojVyBfKFku0oZ/fFFqk6/B9oSHLIFlidvkMqEEbk3P25/xR0st+yQ 9xjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=cvOyUgm3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v126si7166360oia.106.2020.03.22.23.54.07; Sun, 22 Mar 2020 23:54:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=cvOyUgm3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727392AbgCWGxe (ORCPT + 99 others); Mon, 23 Mar 2020 02:53:34 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:40984 "EHLO mail-wr1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727164AbgCWGxe (ORCPT ); Mon, 23 Mar 2020 02:53:34 -0400 Received: by mail-wr1-f49.google.com with SMTP id h9so15488387wrc.8 for ; Sun, 22 Mar 2020 23:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=wGDd6myf+GdHCozxtrhmVLjHaTI84rSVkvwPMbf2b58=; b=cvOyUgm3MfUe3yvKUo5aJ1XPsi8hi07U2PZdZJHUC+l7JhpHg/ZEBxJ+h1nY84FsqI Di2wMDfKuZbHvQcV6aOX/CIP+n+BcgERrqB2X3Nu4/8JcPE4c8ZmvmaSEw2C44p66rF8 O7kcYXct7EuBmdOGVfdzqc7lOAISg7+5BQLs0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wGDd6myf+GdHCozxtrhmVLjHaTI84rSVkvwPMbf2b58=; b=tpRKSrqnErdHFWtRnjMbY4DWiMVCTmpkqwTPqYjz9d19jOT74L155ahJbCg2zzbAiV siOoxt7n84FfEF069XIW0w/wtQtGDIzCAla8ZQxm7J7hHpYGwpXgj9VK9uNvYrK+LRYY pdC1HLL5pO3f7lMcxtUjaCeJdoaMreqH+oJdpjpZeJcGarCJwFdv4/XVJM58sR7eabPc RrOaVcle+LrX+sPYInS5CyJ8DydxFrmdZjltSD1PL/64c7lPSy++K5MIreFDsbOkbrRZ IJHSTelGRg82i7pNwUAk7NVWqbHIdSK7n7xEAiqiog6q+95eSfk8IN1bQmVY3SSKuOmM 5f9Q== X-Gm-Message-State: ANhLgQ3rEMtf5zRl00RsMMVYLaHLyF1HNfG6jjulICrFydMpza3TeC9R /cF/C5/CBkDHO7MWi5tsJLg2vg== X-Received: by 2002:a5d:6245:: with SMTP id m5mr28064980wrv.154.1584946411935; Sun, 22 Mar 2020 23:53:31 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id g128sm21127453wmf.27.2020.03.22.23.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2020 23:53:31 -0700 (PDT) From: Rayagonda Kokatanur To: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Yendapally Reddy Dhananjaya Reddy , linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rayagonda Kokatanur Subject: [PATCH v1 0/2] Handle return value and remove unnecessary check Date: Mon, 23 Mar 2020 12:23:16 +0530 Message-Id: <20200323065318.16533-1-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series contains following changes, 1. Handle clk_get_rate() return 2. remove unnecessary check of 'duty' Rayagonda Kokatanur (2): pwm: bcm-iproc: handle clk_get_rate() return pwm: bcm-iproc: remove unnecessary check of 'duty' drivers/pwm/pwm-bcm-iproc.c | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) -- 2.17.1