From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757334AbeAHMnX (ORCPT + 1 other); Mon, 8 Jan 2018 07:43:23 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:37104 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757235AbeAHMm7 (ORCPT ); Mon, 8 Jan 2018 07:42:59 -0500 X-Google-Smtp-Source: ACJfBot++jlmKKHr9/30tFXYNPo3Y+JzYUBmIajEpCt/zd3ZgqN9GR68BVj4zOJ1/P7r/T0KpqLXww== From: Johan Hovold To: Rob Herring , Greg Kroah-Hartman Cc: Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= , Johan Hovold Subject: [PATCH 0/2] serdev: bus-code clean ups Date: Mon, 8 Jan 2018 13:42:31 +0100 Message-Id: <20180108124233.26729-1-johan@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: As noted by Hans, we currently fail to generate uevents for ACPI serdev controller as they do not have any ACPI companions from which ACPI modaliases are constructed. In fact, we should not have been generating modaliases for controllers in the first place as controllers are not bound to drivers. This series applies on top of Hans's minimal fix which suppresses the uevent errors for ACPI controllers (even though it could replace it entirely if preferred). Johan Johan Hovold (2): serdev: do not generate modaliases for controllers serdev: only match serdev devices drivers/tty/serdev/core.c | 80 +++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 38 deletions(-) -- 2.15.1