[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH -next] xen: Use DEVICE_ATTR_*() macro
- To: YueHaibing <yuehaibing@xxxxxxxxxx>, jgross@xxxxxxxx, sstabellini@xxxxxxxxxx
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Wed, 26 May 2021 14:34:55 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QairHb/9rF4TAODfQZwal4qGpowzag+oYTLrPS0g8Bs=; b=k3kRkVErn/1rWwBb5WuNRsFP4SS7WzI8IebuO9IO+5XUpbOOnsl8U18Iqi+E6qr2Fic4UpPul49cjPqLIIUHrkvYyp2ajI2szwAzgqw4anE/4WNYfHlb0sWsNhoOx+whR/X7N2NsPT6/PLTkB2WjdiTRdK4Hk6VARs+CWP9m23KPAk/60xJJILhJp77fUpexqYR/Cq1axm106r0f6Hns6QMpA+BfBWqTRddBy8cIHU46QJiktauRyoxj95A5+laJ1TTgmLpG8r/CpNJtUg7Z1XLzV0nxwQAWER3aIcHnlcppvJjFW+BP8Vj1ROF9nEVU14m61Kl4zzOHNU7nHa/YSQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FsLKvJXlwFrzRMkeVo0dTyGwDKf/Ta4iX+GJa4Hs7nKNAjs9ZG6z4qnuFYJWDpA5T+pq212aC1mbKt26DtqnncVta2GeHGo0eJnAn0eNiu1dlO2w7Q//zAwbM6m+FCUPQTi4eaDKGIQsXkh79VvUAkbiTkBF5XIRZOOLAuNheSxs8a8IbyX3IdDkk0tOOXvXPO7b1qTZQOElmD2qoUyLLOoHOzIhsPCSkmyqf1WHGFgDO09TKHeeqEqqfsbrsxgdt/tRm8OYBPadZrw3MmSYou2OeEl8dkD0+A9Vhx4Gw+O0zr15uPXX0Ll0oLqb+EJKUivKGR3txsfPtVbqIox/Yg==
- Authentication-results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=oracle.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
- Delivery-date: Wed, 26 May 2021 18:35:15 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 5/26/21 10:10 AM, YueHaibing wrote:
> Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR(),
> which makes the code a bit shorter and easier to read.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
|