From patchwork Tue Jun 18 05:26:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 167106 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3754587ilk; Mon, 17 Jun 2019 22:27:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhpmedpjVyfnruY6n6DhEFqiWcWlFAnH7ank0U6yow2IUaBzPdDiAhu3Z2NFSqIyAezmOV X-Received: by 2002:adf:dc09:: with SMTP id t9mr477940wri.69.1560835665499; Mon, 17 Jun 2019 22:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560835665; cv=none; d=google.com; s=arc-20160816; b=kxabohFFI4jcDkX9kvY3Z1GTDLMxQEE4XJvo7GABGkBKMtkn+2tUpOCmHtamGeh886 EgaJGsJohVvc2wyfYkD11CA9e4k3uDHpgkYdYWdGmX+rMvlEvgF2Ap6ez0AeTdPOwana 7rlSpM1dot1jZJmYfmVmDD/8GP7fk5jcIxJnRvt8Q6gTTGjD9ceoTXt0Hl4u6oQnxC2X S675Lr9brIE37Izs+Kmxm6yZM9U51RRH8oStvBnplX5OeH8aTpQQVskWT+wN3PpjWoy1 pDRBjsN2x+j3LzjHwOaPARaWGseM2pwnELKLmSqUgGNI5QiBf3SnghUTzc/1NubmoUmc 4ecA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=n6B7XtAv1nQwVmKXPGspDbfQ/5jQlbdyLRgnNGR9xXk=; b=k1o4LNUxDwpbR3B5uNjn3DyRehRJHgSHEJ1X2Cho+jEg0APB3imWujEI/gm3j7paWt f3f3IQ2LVgy5AXsnhwjFqsamYP9L9QaJkRjEImqvE811zLsAp0Vm7jsYw8pnWlQvo4+6 eZgqEYh841bq64FFWqdWc3gthIU134Op4QC3cFlJdFyoa1RTdxmI4FnnzSzA1YE9x/Rl pOawelqQI1LpwIA01OzCKssORYsn9mSLbjKp0M28q++21tcRbuyJ9FW7MxC4VzvbvTu8 bjvri/i1FvIh2Wok00J6owFIT/4AE3syeoiVtnuFJmHETx+W7dAzv5UymRvUOh+S6XMz HT8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=s1oB839A; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zvOFBSUP; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id t14si4680345wri.285.2019.06.17.22.27.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 22:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=s1oB839A; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zvOFBSUP; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B962316F9; Tue, 18 Jun 2019 07:26:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B962316F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1560835664; bh=CxMAQ1DGKm6yFsKxJuuuJpPps/MkskQQx/xEhVZY4Zk=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=s1oB839Ay9Zv7/a1kepTxcEBoknaycqoG/vwFAlWhTQsR49R+4A1TBBP/7ElQ7dss eFk2DUmVgSZX6zuZfP3YIn8fw1kUF+Mc3s5CNibtSxZps5ujgbCZDI3IDNclj2/xnj q5tSW/AwNF2tQKwS2PWpHP3/MySIV4+Pp1clcHN0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 16878F896DB; Tue, 18 Jun 2019 07:26:54 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8AFF6F896F4; Tue, 18 Jun 2019 07:26:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9109AF89682 for ; Tue, 18 Jun 2019 07:26:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9109AF89682 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zvOFBSUP" Received: by mail-pf1-x443.google.com with SMTP id d126so6952490pfd.2 for ; Mon, 17 Jun 2019 22:26:49 -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; bh=whbkciZuL++lKNDvtvhbwAO5DyTyA866K2yDYDBjqZI=; b=zvOFBSUPmPI/GdgLLOxkDVawbMy7YCCvIZ8vYJvsFNaKl3Jn28Tawlq3CoP9wlm2bE V4c0+HIBf0vxfU8RK9E0YMWwL/1SEfbVk+bIhbxMbeHjmHa4r3E7ku3XoTzVZW3qOoM2 rQHKBhbL5xJxRqeKHguWsj2O7CU3pdlv0/4v1XWIWvU9POj9MhnixLjcWryeMZrIN+xy yoMyl44dxeDQ3V5/i8Jd3JeR6ideyS4FL7V4IsSFGH2eQG+yqZeDEE+6AEE/OMzCtaVa ztwa5dduFHcj7lZAq1QGJXD/osZ3fKcSXmfHemnaCDYt9yDGdEZNt+BatVmigcYdS1VY 5xvQ== 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=whbkciZuL++lKNDvtvhbwAO5DyTyA866K2yDYDBjqZI=; b=cqCvOqy8FfRe+4d9x3bowolIBizRuUqa7U9koo4mmcFl+6kDL7EEFyqHAlPiapXI/0 bWz+sWyu00QjAZQVrZdm2Z5ihL18K9+/OyC+aET4GjN2q4RT+9ulv9KmRoSC3e9s0MWB mpidjPzLlDYbzUzMvOlbfL8qtNfB8k10biK1k6mM6b5k1x4M11ZPtK2qiElKzC8ZzWsg T2amhjO7jm22u+9kVbivhVeb2XfW4hO0jQ9PB586H2OytJvoUL11JrlWrRz+Q77MjBtQ AJsc59tVNEqMDUkHAbaHkzbx0NvyYoH+5VZ3+RRQi0nOuTgXaY518HRT+t6SM0b2k+vU RNUw== X-Gm-Message-State: APjAAAXTAHWXOD8kRtkIDL+6lgs9yaDPdp+MFtnE2pzchSsQg6Gh6auN h3Gg8XSlMG7ZqcQQ1Pu+cNAi9w== X-Received: by 2002:a62:68c4:: with SMTP id d187mr121107689pfc.245.1560835607326; Mon, 17 Jun 2019 22:26:47 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v185sm3051958pfb.14.2019.06.17.22.26.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 22:26:46 -0700 (PDT) From: Bjorn Andersson To: Srinivas Kandagatla Date: Mon, 17 Jun 2019 22:26:44 -0700 Message-Id: <20190618052644.32446-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Cc: linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] slimbus: core: generate uevent for non-dt only X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Srinivas Kandagatla 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.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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)); }