Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp906772imu; Fri, 21 Dec 2018 09:14:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN6aZG4lV0yOiDZSF6zHWGSPvVaPRKqTFNbllGe4eR12nz9VPmQIxVdwv+4tUwXAANNSN4Lc X-Received: by 2002:a17:902:ba8b:: with SMTP id k11mr3322107pls.177.1545412454807; Fri, 21 Dec 2018 09:14:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545412454; cv=none; d=google.com; s=arc-20160816; b=qDBbuGRiICeXtsRITOEPTLVelIkYEoy7+2/RUjWOJo/QvXBsQx+Bfg0W3jE5GHr1N5 0Q9T+hnPJBE68MwIO6XPKSCKKezKpnSXbaGFcbU87beofJP3exMzfs9GYonkYJ3ic61Q +d2fajlLy5thp07LW5+NxDzkGpM0gt87akWJm9Q/KndpSkRbRxy7MzjgrBllsGIGn4ud 82QuzoV07uTzS+cgEEtLJdeFQShRmYrRUWVm700RkLkFkFw8aN6yVG3LePcnDiOsY6LS ekusSdTFS1gW4HYLe4lwGPS3p3nYR+Oky0udQVpQImNeYjYV8ZazdkQjgi3nMFXA6394 r0OQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ID2YCIIJSFotP+kPX2NhLYRL9iIw7RxAuxFgPEHrOOE=; b=NOv3KurNLmlUaYHE8Nn5lals0ZuRewlLMGr7MZ4EAxTY8VL82Kmb0JSHKnDib8W+H9 oy7ZF2Nt1uAYB/H6XZCc6QDs0/uEOXqB07FAxAcncOJ/WhUurrEwOSKoqetDY6Xgn/L8 fPemuhdiazz7KW3HCT1OSbfX+dZZq0ZqOpJrswuSLl03g/poD8JghF/yYcUxkBsM99B6 tYcEFvU+rKLnFtr1zs79wdvTvWHBPo/sK2wf6f2qMzuWON9R7Qp9oE3XsbSBmRTUuySS 2AtDRqF8U4o0FuzWcw14Sg24Kdhm3EQzJ0dLiqyXjoPeIvKt6skiDn52fPKcDjlpNMkN s8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lObh48NI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24si21859328pgj.582.2018.12.21.09.13.59; Fri, 21 Dec 2018 09:14:14 -0800 (PST) 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=@kernel.org header.s=default header.b=lObh48NI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732483AbeLUHyx (ORCPT + 99 others); Fri, 21 Dec 2018 02:54:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:59104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731366AbeLUHyv (ORCPT ); Fri, 21 Dec 2018 02:54:51 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B375E21909; Fri, 21 Dec 2018 07:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545378891; bh=oj5I8bS5Or8V5NX5hkVnrC3sZ7uuuKb+2k2HuCVm1JU=; h=From:To:Cc:Subject:Date:From; b=lObh48NIbos/60g0PTn6q+NriMCfcutB5Ozn9Tq6N+dm9wZbUL0X4b/uO08r7ghFh CMYUEWO24sYIOlblh6MlDHsTh5ukl1ZrVc80/wOne06Zj6Y5sdkuB4p4GzEFmKXZpv jTvzbBrsmC/3RUrQ9tXiSu4ejvMBlH33HtjFVoNA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , "James E.J. Bottomley" , "Martin K. Petersen" , "Rafael J. Wysocki" , Alex Elder , Alexandre Bounine , Benjamin Herrenschmidt , Bjorn Helgaas , Ilya Dryomov , Jens Axboe , Johannes Thumshirn , Matt Porter , Michael Ellerman , Paul Mackerras , Sage Weil , Tyrel Datwyler Subject: [PATCH 00/10] Driver core: remove BUS_ATTR() Date: Fri, 21 Dec 2018 08:54:32 +0100 Message-Id: <20181221075442.17109-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the quest to get rid of the need to specify any sysfs mode attributes, let's get rid of BUS_ATTR() and move the few remaining users of it over to use the "read write" and "write only" versions of the macro. Greg Kroah-Hartman (10): PCI: pci.c: convert to use BUS_ATTR_RW PCI: pci-sysfs.c: convert to use BUS_ATTR_WO SCSI: fcoe: convert to use BUS_ATTR_WO pseries: ibmebus.c: convert to use BUS_ATTR_WO rapidio: rio-sysfs.c: convert to use BUS_ATTR_WO block: rbd: convert to use BUS_ATTR_WO and RO driver core: bus: convert to use BUS_ATTR_WO and RW Documentation: driver core: remove use of BUS_ATTR driver core: drop use of BUS_ATTR() driver core: remove BUS_ATTR() Documentation/driver-model/bus.txt | 8 ++--- Documentation/filesystems/sysfs.txt | 4 ++- arch/powerpc/platforms/pseries/ibmebus.c | 10 +++--- drivers/base/bus.c | 20 +++++++---- drivers/block/rbd.c | 45 ++++++++++-------------- drivers/pci/pci-sysfs.c | 5 ++- drivers/pci/pci.c | 7 ++-- drivers/rapidio/rio-sysfs.c | 5 ++- drivers/scsi/fcoe/fcoe_sysfs.c | 4 +-- drivers/scsi/fcoe/fcoe_transport.c | 7 ++-- include/linux/device.h | 2 -- include/scsi/libfcoe.h | 6 ++-- 12 files changed, 56 insertions(+), 67 deletions(-) -- 2.20.1