Message ID | 1400841111-6683-68-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | 814876b0b00ae98a8568d1b989bc98ca5389b98a |
Headers | show
Return-Path: <patchwork-forward+bncBDIYTLXUW4BRBFWI7SNQKGQE3JNB3EA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9963720369 for <linaro@patches.linaro.org>; Fri, 23 May 2014 10:33:58 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id w7sf15068683qcr.0 for <linaro@patches.linaro.org>; Fri, 23 May 2014 03:33:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=ifaxrhLePYasZwgaXN/ZYfKkWWGPtq15dshbkKipUCs=; b=Oec3mq+4u0+r0qZLCp/mmbuD4PZaB+VF6klYLxbya2pRfJsBjVHKCmtD9kzMipV+TU 3VpxPfE4Jo6ZSW/ujSXcQjrMloCE4npXRtpmeyp10r2ofPxNJQxy/cjKSq8l5RRpu2Fg 6/6KaGbMT1PACRUtLfgx444pv3F7gpR3e+K6mjuJHeBPzqBNbYzpToW+gSlsgUGw+Z1G JC+xP8QhJnLxDPv9EOEWgpgeu8xcQyyVFFVHpW4sLf8ZJzOpp86cn7NMG1ZCDewmw/HY 07ajvbb4+3Ktzo8PRcrtpgZUBS/BENxr3heBg8+pZFfkPOlkGBSf4dmTR1BqQW4gn0VX Remw== X-Gm-Message-State: ALoCoQlYgKvMQQ52/LDqn9MKy7MWHjNFCwCIgDWfOvVzKWXIg88hhtR6wqo+dh1CxK2w10GPirbg X-Received: by 10.236.19.7 with SMTP id m7mr1635718yhm.35.1400841238474; Fri, 23 May 2014 03:33:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.99 with SMTP id l90ls1797275qge.13.gmail; Fri, 23 May 2014 03:33:58 -0700 (PDT) X-Received: by 10.220.249.198 with SMTP id ml6mr646936vcb.36.1400841238378; Fri, 23 May 2014 03:33:58 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id rv2si1396536vcb.4.2014.05.23.03.33.58 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so5931073veb.5 for <patchwork-forward@linaro.org>; Fri, 23 May 2014 03:33:58 -0700 (PDT) X-Received: by 10.220.95.204 with SMTP id e12mr474794vcn.37.1400841238300; Fri, 23 May 2014 03:33:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp19888vcb; Fri, 23 May 2014 03:33:57 -0700 (PDT) X-Received: by 10.66.155.227 with SMTP id vz3mr142062pab.26.1400841237397; Fri, 23 May 2014 03:33:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ja1si3212769pbb.218.2014.05.23.03.33.56 for <sandeep.tripathy@linaro.org>; Fri, 23 May 2014 03:33:56 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753304AbaEWKdw (ORCPT <rfc822;sandeep.tripathy@linaro.org> + 27 others); Fri, 23 May 2014 06:33:52 -0400 Received: from mail-we0-f179.google.com ([74.125.82.179]:38592 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbaEWKdB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 23 May 2014 06:33:01 -0400 Received: by mail-we0-f179.google.com with SMTP id q59so4608190wes.38 for <linux-kernel@vger.kernel.org>; Fri, 23 May 2014 03:33:00 -0700 (PDT) X-Received: by 10.180.7.198 with SMTP id l6mr2428637wia.52.1400841180724; Fri, 23 May 2014 03:33:00 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-404-187.w82-125.abo.wanadoo.fr. [82.125.3.187]) by mx.google.com with ESMTPSA id s9sm2200908wix.13.2014.05.23.03.32.59 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:33:00 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 68/71] clocksource: sh_tmu: Remove unnecessary OOM messages Date: Fri, 23 May 2014 12:31:48 +0200 Message-Id: <1400841111-6683-68-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> References: <537F214C.8000700@linaro.org> <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 4ba2c0f..a38022f 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -644,10 +644,8 @@ static int sh_tmu_probe(struct platform_device *pdev) } tmu = kzalloc(sizeof(*tmu), GFP_KERNEL); - if (tmu == NULL) { - dev_err(&pdev->dev, "failed to allocate driver data\n"); + if (tmu == NULL) return -ENOMEM; - } ret = sh_tmu_setup(tmu, pdev); if (ret) {