From patchwork Thu Jun 20 08:11:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 167306 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1759064ilk; Thu, 20 Jun 2019 01:11:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqOHJq6AZLz0i0ffFMit6GnVwswIO+o+CLPE5hNBW7ebtJyPHCJ1O2y+oAbZ6nUv/f0aCm X-Received: by 2002:a17:90a:b00b:: with SMTP id x11mr1813703pjq.120.1561018311673; Thu, 20 Jun 2019 01:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561018311; cv=none; d=google.com; s=arc-20160816; b=KAYfJ5BMCW1+O0CLjRGnk8br3qCcKMbwkKeGn8F413UhETbPgH4845d3Icd02sSx4s WVPU/58tWctdBbxOoeitO3U+Y/iprAKiX8b3/5QstpvzL2wEE01l8uY0m+De64uxj1F3 QLRl4g0jXccES9Vua4weP6E/WoTMHS5XVoVKAxKSx5nD3XHrfeQnoWcyfn53F3PjNUwJ GYTMNFAx1MgPFuBBkOMkqt0s80N5R0hvUjWp5jD5fZXTvGe7FlizcLlgb4qN7w19+0sH mVEqp8/2gdvPb6B6/ktQpHyfj2gizsAXGrg/MuWOdUc8shGzOEHnfNNeA5h3LU+LdlOt Gq3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QQRh2gTu0XxP02eaevWI4QLBFrAyLvn8wbFwlTAm3vE=; b=sq/OBaT/10hmuseQWPyiQx3cV8qVJEak9W51pYwJqxQVZ9NdI0Om4IeRUlk5pJKX0R GKcaQNwK3uKePE4CUk5ysuohhGPCQGettSjhclE5m+TKY5VDEWWnCQ5nqvA4Kuvyy9ux 7i5jbC/4rTwbekYCsSKleBiKSulJ6eAwCq7Hl4zF0rqpkiScEacquNKep6tTyIlBjiD9 mbbdKKmmJlXvbZOk5z6Ku7J+B+/JQEeTPRXWOpsNg9Glt8mldnJFbo8ord08H7DcGXhR V40p/ZscGF54tPsPFasJJby5DtTMc3qCeDu9j/aU0KidnSRl9HqHhZ7qVmfbwC5gtm+d z/kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YbDDbAeg; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si5205266pgk.379.2019.06.20.01.11.51; Thu, 20 Jun 2019 01:11:51 -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 header.s=google header.b=YbDDbAeg; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730908AbfFTILg (ORCPT + 30 others); Thu, 20 Jun 2019 04:11:36 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36797 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfFTILe (ORCPT ); Thu, 20 Jun 2019 04:11:34 -0400 Received: by mail-wm1-f67.google.com with SMTP id u8so2144032wmm.1 for ; Thu, 20 Jun 2019 01:11:32 -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 :mime-version:content-transfer-encoding; bh=QQRh2gTu0XxP02eaevWI4QLBFrAyLvn8wbFwlTAm3vE=; b=YbDDbAegnE0dp4YumxpEKd5tEw4La1v3jt4kihJK5jyw2BUQQR1uZFOE2Ik6jnJj36 z8MiqykH+K7ixsqv71H2SpZ2kIdYvhPPNu4TMwigVUjFZhOQUC7dpx6vVoshTPiYOmNO ftClQRkLAgfaq/fv3imw1NNxA6VFMohIC4QSRuxiQu898a6DmHEf4CSVx6pyiixqrYBN 1OInEzdDKeK18AvYt8iG8qrHFhW24Q7MjjSJI8qT7zjFUvMUZO+pTv9/uBdWejqdfXY7 GjpcnjXK/PxKVn3+jRWovjUVVZx6CtpbwVRoEAJHq4RSlc2yvBCCA7TDYO+3wgYGkyRH vkQA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QQRh2gTu0XxP02eaevWI4QLBFrAyLvn8wbFwlTAm3vE=; b=Ltf2SpliIZAeSsw44AXZp7Yvy5osVXYKAox01gQk0CDWxXKQW2seu+4lWiJxF67tcH QO0TdlvJioYRP5MBskNPBVHpEuZ5i4hYD1MWOdBIsGnjmliQQOowxh5c3kFkKdyHGcMc BsLeSNa6hclz+qNwtYBBJuZhun6rCg3alILvZvsnS+KsBQ/ksAujs+/1N/4m8rAFY7TE NP1n7QXhVEa0Ay693BPAcvZlFfeN8jlCLvi28e+3QJ7duJ8BGHb84KF9i+NvBHEVqEhf As+9Vjtlgk+F3jQyPctPDda4ZmKKCgHE98jEjV0ZbvYD4bkrZRJEo38V+L3Ml0YlOfk8 ZcFg== X-Gm-Message-State: APjAAAV+qRMlYuj81SJAkJi6g/wdqaLCNXDhI45vr0F2Hr+uOjl0QDA7 GW+yhMoPeNqC0wed4k0esmIetg== X-Received: by 2002:a1c:7a15:: with SMTP id v21mr1672163wmc.82.1561018292082; Thu, 20 Jun 2019 01:11:32 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id q12sm17559174wrp.50.2019.06.20.01.11.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 01:11:31 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/3] slimbus: fix kerneldoc comments Date: Thu, 20 Jun 2019 09:11:27 +0100 Message-Id: <20190620081129.4721-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> References: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Corbet The kerneldoc comments in drivers/slimbus/stream.c were not properly formatted, leading to a distinctly unsatisfying "no structured comments found" warning in the docs build. Sprinkle some asterisks around so that the comments will be properly recognized. Signed-off-by: Jonathan Corbet Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/stream.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.21.0 diff --git a/drivers/slimbus/stream.c b/drivers/slimbus/stream.c index 2fa05324ed07..75f87b3d8b95 100644 --- a/drivers/slimbus/stream.c +++ b/drivers/slimbus/stream.c @@ -84,7 +84,7 @@ static const int slim_presence_rate_table[] = { 512000, }; -/* +/** * slim_stream_allocate() - Allocate a new SLIMbus Stream * @dev:Slim device to be associated with * @name: name of the stream @@ -189,7 +189,7 @@ static int slim_get_prate_code(int rate) return -EINVAL; } -/* +/** * slim_stream_prepare() - Prepare a SLIMbus Stream * * @rt: instance of slim stream runtime to configure @@ -336,7 +336,7 @@ static int slim_activate_channel(struct slim_stream_runtime *stream, return slim_do_transfer(sdev->ctrl, &txn); } -/* +/** * slim_stream_enable() - Enable a prepared SLIMbus Stream * * @stream: instance of slim stream runtime to enable @@ -389,7 +389,7 @@ int slim_stream_enable(struct slim_stream_runtime *stream) } EXPORT_SYMBOL_GPL(slim_stream_enable); -/* +/** * slim_stream_disable() - Disable a SLIMbus Stream * * @stream: instance of slim stream runtime to disable @@ -423,7 +423,7 @@ int slim_stream_disable(struct slim_stream_runtime *stream) } EXPORT_SYMBOL_GPL(slim_stream_disable); -/* +/** * slim_stream_unprepare() - Un-prepare a SLIMbus Stream * * @stream: instance of slim stream runtime to unprepare @@ -449,7 +449,7 @@ int slim_stream_unprepare(struct slim_stream_runtime *stream) } EXPORT_SYMBOL_GPL(slim_stream_unprepare); -/* +/** * slim_stream_free() - Free a SLIMbus Stream * * @stream: instance of slim stream runtime to free From patchwork Thu Jun 20 08:11:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 167304 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1758834ilk; Thu, 20 Jun 2019 01:11:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdJwmbjPCe0HafQDEDBpjeuFk6YhAmZrGGerEEKNjCIYPzrHPQk0+dS/9w+Yfegy0R35Vo X-Received: by 2002:a63:1f50:: with SMTP id q16mr11671991pgm.304.1561018298680; Thu, 20 Jun 2019 01:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561018298; cv=none; d=google.com; s=arc-20160816; b=eMxCX7344JM9PMA5Iybe3msc6bWAfuYIZvofivru75mXrMiH0KGfBIEb6vQoLUa94u p0B8Nv0xYgsy15kEvxXCorgF44EVtoCgkkM7AkzZV59f3LETZ9QvFWXnFojmGGqMI57s xhb6zX59bfXD35O9ts1XYSuyxy/X676iIhjSm7+ehwWNhCaX2LzJ5PaHM+ZGDnqVbPMb /xH2BiveNgr0IIf6uH2i3zUydWn8i4vnI1KkaT2Hdy7Yd5ny6RH31RMzOMQU1/2c7xpR ZbRUh0FFrZ0T59pIAe3VCEjXH2Yxe4cSjTKadGB/orAeM92wr9MzXUPx0DI7Kx9Y4VZb NbUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yk3s13nDy3wSE2QTnTVmJsFL5rtqbtjjYEZwrzIJL/A=; b=YNkmRYSC6aTCmxikiGsETFpgLbMcSF+QyebqIIgjmzJLNl8095huZholvKi2RHFwDA s/wgsLpz3RE/uheEboVEjAvbJhfon5PWW0RIcAemtHRJ8J2Z8L28FBgBnHDaa09NiuNL 69l4+eYTwuPd2JF0g+79fSOA+SKgqAu0N+G362FFPEmgtdv91d+G9LltIUbhvdsMiqGA 652RMmIQmdyemI1MPp7Jx7Z7o2U0jcjknZNoHUQyhE2bAY6ANxcXKxVFgq1wB2XwImtA kIj7ZjeZXVJn5LUp8NOnmLEOk+oaiE7mBupdxGjBhNI/PDOg8/zmWHIPv+mBoC0dQWMT ZzqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="PMuk7/TM"; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si5064288pgp.583.2019.06.20.01.11.38; Thu, 20 Jun 2019 01:11:38 -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 header.s=google header.b="PMuk7/TM"; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731099AbfFTILh (ORCPT + 30 others); Thu, 20 Jun 2019 04:11:37 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37527 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730487AbfFTILe (ORCPT ); Thu, 20 Jun 2019 04:11:34 -0400 Received: by mail-wm1-f65.google.com with SMTP id f17so2137803wme.2 for ; Thu, 20 Jun 2019 01:11:33 -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 :mime-version:content-transfer-encoding; bh=yk3s13nDy3wSE2QTnTVmJsFL5rtqbtjjYEZwrzIJL/A=; b=PMuk7/TM00B26wtlQCEp4fvfPYDH1EjBHokXQOuvImdF3IPX3gmBnSatBUGaYk21yh MYvbbxy5pB8fQTv6AwsWdLEdEl+SsYH9oPDLOF9qXnUkDTdUDRD7XIPZbn+NGTbM9IsL p6tf41Y0IWR1srVcVC6pypiBqf7xbDFBArqvO99E1VHg6mMahVqkKolpbpqXKDjluEe1 gyszNh6ogGL7flbzMxpoghetcTsCUzVjw97bNLHo79bjHJTqr9YZa0BdwrjGWRkc7yhh +LfgXIyuGfgygHLQaw1sGDyDLckz5SCUNn9ssmzhfe7h3dbsB/Ezp8l+MIWVyGzevXhN LI4Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=yk3s13nDy3wSE2QTnTVmJsFL5rtqbtjjYEZwrzIJL/A=; b=DHThZBtAwQPE4wODmCsVFRlRa+Bwc6xRJIRsqQmiLpDu5iXk6MOAzpEsOrQq8wRIXP Jt0Joj35pSnJr0Rx6q8GuxUM37PKxNl2V/C5u0wqtH3xeGHNpQGMg3VY1qSnh/L99fVd 8RFvd12fgl9nPxgtURqToumrrpGaSHUnWA3N8ob77Q7TdXJvU+nr5YGKBnaPMsv9+IDO aOnvw2QMuiAICUYVaPPED0XZHXGoj0UQ4M4uOqT3TdUApQoC1/Z8QKq2095gT6ipNgLA xpioXsCHHxDC4hnJeBo2Wa8sUslvYL1FD7TnCbUJSlNgMeXSqMVvuyG+jYb+BolQv76o t8PQ== X-Gm-Message-State: APjAAAVOpTEqIVOkyshFbRcoQOuLMi5w2Od/8bd3cdeMxhHgz38VyxZx C5j5LUR2L3REaohum9Ejna2u3A== X-Received: by 2002:a1c:f319:: with SMTP id q25mr1613578wmq.129.1561018292890; Thu, 20 Jun 2019 01:11:32 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id q12sm17559174wrp.50.2019.06.20.01.11.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 01:11:32 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] slimbus: remove redundant dev_err message Date: Thu, 20 Jun 2019 09:11:28 +0100 Message-Id: <20190620081129.4721-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> References: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ding Xiang devm_ioremap_resource already contains error message, so remove the redundant dev_err message Signed-off-by: Ding Xiang Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ctrl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.21.0 diff --git a/drivers/slimbus/qcom-ctrl.c b/drivers/slimbus/qcom-ctrl.c index ad3e2e23f56e..a444badd8df5 100644 --- a/drivers/slimbus/qcom-ctrl.c +++ b/drivers/slimbus/qcom-ctrl.c @@ -528,10 +528,8 @@ static int qcom_slim_probe(struct platform_device *pdev) slim_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl"); ctrl->base = devm_ioremap_resource(ctrl->dev, slim_mem); - if (IS_ERR(ctrl->base)) { - dev_err(&pdev->dev, "IOremap failed\n"); + if (IS_ERR(ctrl->base)) return PTR_ERR(ctrl->base); - } sctrl->set_laddr = qcom_set_laddr; sctrl->xfer_msg = qcom_xfer_msg; From patchwork Thu Jun 20 08:11:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 167305 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1758877ilk; Thu, 20 Jun 2019 01:11:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRnNRTHNCURwNNlQQ6+Z2svSnFRSC5Vk/+PaHXPcS0Wj1A/4Fb3NU5LO3EJCKnQzPGWEwi X-Received: by 2002:a17:902:e40f:: with SMTP id ci15mr45660456plb.103.1561018300880; Thu, 20 Jun 2019 01:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561018300; cv=none; d=google.com; s=arc-20160816; b=EO6NvDc3gARlovtI6g26zVYV487h5yt0ZgWLaGj1fDdT8YieBcxm3943uiP7EDUtpV Ejiv+geqljhv7xf5o3yRyJhZeq4UnSrc1Ub8W+dx9LD8n7QJSz6EFKlsvJFJit4mYFyW tzA8u9BslrOYI4N4ti4UVC/r1oGbbQanleGX3bdBXr8v8hP+oKtjD1U3QmyDXQoj+4l6 GGk8lhX3z9FGfXurKfw4P782kgH7TLS+CWTQobij3PDJH9d7Xypia00iQ9EuxtqX0tab quzuiFMd/+xz5vkpZY5S91Qz7HB4YaXJXSFa/r3HsEd0+L47DX1I9vwPgrpyG5rWbrC/ b9Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HhWyyUaFjokwwCj2d1/nEx4QjaLwX5bSHXHfoJ/Z1z4=; b=w/bhNpQDe0bUZ83IZH7R7QbosEBZoHeq0FSqjLuB5RnGp8D/F7ZpOP1M0hSUtp6jhj PtTvJhqFEesyzvIxryyPtVcHWjkhUyZSCJnxcJWIeFqZxH8a/jG8pnL+vN4Re3qPkFLi Pb+gN1tX75KjqvJkTmNowRjAb/ZhJ6wK0Te380DUWQSMBDgQYYZZjNDh/968r7P7mzvL opKHhCz2rvO48lslsbB4EYxWI1+nqUwlgFaijBKNCpLKZpz2oSjl7kIl7yaRy2Q9M9qi OcvwybXmD1myodbBvtiSlrzUq1HTdVaCAZ+wmnTof4lXIz80/fdGdZH6y3bLZWbEmQp0 c1yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PdSWTevo; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si5064288pgp.583.2019.06.20.01.11.40; Thu, 20 Jun 2019 01:11:40 -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 header.s=google header.b=PdSWTevo; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731150AbfFTILj (ORCPT + 30 others); Thu, 20 Jun 2019 04:11:39 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:38628 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfFTILf (ORCPT ); Thu, 20 Jun 2019 04:11:35 -0400 Received: by mail-wr1-f66.google.com with SMTP id d18so2003500wrs.5 for ; Thu, 20 Jun 2019 01:11:34 -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 :mime-version:content-transfer-encoding; bh=HhWyyUaFjokwwCj2d1/nEx4QjaLwX5bSHXHfoJ/Z1z4=; b=PdSWTevoSjMzvE1lmytqcgGP0RPJzKrM/e7aTP+8QeiMu0OnXdcMYmHugWc7jRuWa7 ODM7F9jtOna23X01M84cHN4WO2ADB1u0UZJNBYff3lcyv9QVEo/1GMvgUI2+cyL151qM +wPj/ZlKF+qWkg3KVXqNkgbrOrudX0MFEFXbSRuDgXAmzJP5hxTBy1W0STvDt0CuJDDq AZDwcR1lrDCTQs1OlP5QDbQnEib7ttSGqpAgJnSSuagSjwtf+tGh3F2iWGFn4TwW65L5 Z25fM51nzg6unt1ho3xAOJ7YlMgtCGDSZMpTyvzL5EPtv6x6IPSMW+vnZrXcnsBTr3+G NWDA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=HhWyyUaFjokwwCj2d1/nEx4QjaLwX5bSHXHfoJ/Z1z4=; b=jeNLbXtgc7X41nIuddbuUlzXOMwTBX4dohSUseOqwtzwnGeuIjOYcRnDuaUAKMHIcK 9RRDOn3Lm4LkpkNB+iVE92pvirsc1nImrLobVq95F3o6tn1SE/jMG/Mr5uGMv75xFw+t 6V1aE0Ub2+SVctUxHlGvWm4jZMqa12FueqBqDJoZFTGx26IsQYSNetswBLyV7Kalmewb F4t9ryYR0Dkl45Z0W/Y9HC14sPw0uSnz+dXkS3XZ9DFGrmhpHRCu0vr1tS/5yJuxIEXo /FQ+c8hTCQRaYzUSgnYaVqjaPIqTkICiDXE3pe912P5YuNcFcB7lGt5j9w+8Wz6Nfq7n eHnA== X-Gm-Message-State: APjAAAVZWTUpabVuoH/4clZ2kwukabiwBp24MGZlExGLYMDWYslOT0zF qAasf4SHyDePV1VrzukUBLUM3Q== X-Received: by 2002:a05:6000:146:: with SMTP id r6mr78481877wrx.237.1561018293930; Thu, 20 Jun 2019 01:11:33 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id q12sm17559174wrp.50.2019.06.20.01.11.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 01:11:33 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 3/3] slimbus: core: generate uevent for non-dt only Date: Thu, 20 Jun 2019 09:11:29 +0100 Message-Id: <20190620081129.4721-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> References: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rely on MODULE_ALIAS() for automatic kernel module loading, rather than basing it on the OF compatible. This ensures that drivers without of_device_id table, such as wcd9335, will be automatically loaded. Signed-off-by: Srinivas Kandagatla [bjorn: Added commit message] Signed-off-by: Bjorn Andersson --- drivers/slimbus/core.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.21.0 diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index b2f07d2043eb..526e3215d8fe 100644 --- a/drivers/slimbus/core.c +++ b/drivers/slimbus/core.c @@ -98,11 +98,6 @@ static int slim_device_remove(struct device *dev) static int slim_device_uevent(struct device *dev, struct kobj_uevent_env *env) { struct slim_device *sbdev = to_slim_device(dev); - int ret; - - ret = of_device_uevent_modalias(dev, env); - if (ret != -ENODEV) - return ret; return add_uevent_var(env, "MODALIAS=slim:%s", dev_name(&sbdev->dev)); }