From patchwork Wed Oct 12 02:32:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 77529 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp269280qge; Tue, 11 Oct 2016 19:41:06 -0700 (PDT) X-Received: by 10.98.137.92 with SMTP id v89mr1692002pfd.64.1476240066209; Tue, 11 Oct 2016 19:41:06 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f139si6763910pfa.59.2016.10.11.19.41.05; Tue, 11 Oct 2016 19:41:06 -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=@linaro.org; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753854AbcJLCki (ORCPT + 27 others); Tue, 11 Oct 2016 22:40:38 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:34825 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbcJLCkc (ORCPT ); Tue, 11 Oct 2016 22:40:32 -0400 Received: by mail-pa0-f53.google.com with SMTP id qn10so23459494pac.2 for ; Tue, 11 Oct 2016 19:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=yB8merWBom/BgNWbokRip7XTg1KMcpLAmpSUXlKhQIQ=; b=hme14cEEMglEDbRKyme1XlN8Ha3kY4BfIPw8A3au8CCrUqO15j9d24mkQThExTCtpL N2v5r4FQ4cTi6gKJbMJ/fAXlk5wxAaORjGNR4PCU/xbDgzi2ARQDpvODXOc6wT90sZG+ 38BbISfhBgn8W3ycE4HV44kHAFGzsp4z70beE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=yB8merWBom/BgNWbokRip7XTg1KMcpLAmpSUXlKhQIQ=; b=CGW5WHoPO4y4pUe2ISrjoh2ZRI+wRy9NmuaJrifrM0dTReo83TuR7mvOZCGdz0Xros +VcQLfVWle5Hqm1J9GqelQEYFxPPutbMYnzqfXFXyRShcJ2A9AkhHI7CfIC4hn+0wmPJ Zew2z+ouabI9XStuQcH9XL0P8RLJrcnZrwbjvKalXK4FA0TTKtHUJj2S/VCsw0xPHUw8 u+mFlbWGRyt3AeaiBSodKhsCmD8X/PNK9kvL1mIU7XviKUWB1lHGogvDT13FQCmXNU1N xsx2incti8jwAk9Yg0lEIHzbAeRDbBvC8v+ZNtlQk81NuLbIJPfuB7zE4O7L5im+Z4J1 Tp4A== X-Gm-Message-State: AA6/9Rme3eQ5kz4yKl3RGIVy9kv8h/iwDdz6uOv5DaKF+CEvkGqWRAFhkR4WQC7dknzEoPNL X-Received: by 10.66.122.239 with SMTP id lv15mr11488892pab.192.1476239549236; Tue, 11 Oct 2016 19:32:29 -0700 (PDT) Received: from localhost ([171.61.120.110]) by smtp.gmail.com with ESMTPSA id v73sm7372617pfd.63.2016.10.11.19.32.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2016 19:32:28 -0700 (PDT) From: Viresh Kumar To: David Lin , Johan Hovold , Alex Elder , Greg Kroah-Hartman Cc: linaro-kernel@lists.linaro.org, linus.walleij@linaro.org, Viresh Kumar , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] Staging: greybus: uart: Use gbphy_dev->dev instead of bundle->dev Date: Wed, 12 Oct 2016 08:02:22 +0530 Message-Id: <3d4274247020eb372ee12380f863eb2706c89f91.1476239450.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: <9b48c2f62b23ef3565af2779fc2d46dcaf02d55a.1476239450.git.viresh.kumar@linaro.org> References: <9b48c2f62b23ef3565af2779fc2d46dcaf02d55a.1476239450.git.viresh.kumar@linaro.org> In-Reply-To: <9b48c2f62b23ef3565af2779fc2d46dcaf02d55a.1476239450.git.viresh.kumar@linaro.org> References: <9b48c2f62b23ef3565af2779fc2d46dcaf02d55a.1476239450.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some of the print messages are using the incorrect device pointer, fix them. Signed-off-by: Viresh Kumar --- drivers/staging/greybus/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.1.410.g6faf27b diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index 5ee7954bd9f9..2633d2bfb1b4 100644 --- a/drivers/staging/greybus/uart.c +++ b/drivers/staging/greybus/uart.c @@ -888,7 +888,7 @@ static int gb_uart_probe(struct gbphy_device *gbphy_dev, minor = alloc_minor(gb_tty); if (minor < 0) { if (minor == -ENOSPC) { - dev_err(&connection->bundle->dev, + dev_err(&gbphy_dev->dev, "no more free minor numbers\n"); retval = -ENODEV; } else {