Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 18 Jan 2003 17:23:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 18 Jan 2003 17:23:14 -0500 Received: from havoc.daloft.com ([64.213.145.173]:42901 "EHLO havoc.gtf.org") by vger.kernel.org with ESMTP id ; Sat, 18 Jan 2003 17:23:14 -0500 Date: Sat, 18 Jan 2003 17:32:10 -0500 From: Jeff Garzik To: Pavel Machek Cc: kernel list , ACPI mailing list , Andrew Grover Subject: Re: Code obfuscation in acpi Message-ID: <20030118223210.GA31860@gtf.org> References: <20030118213134.GA8968@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030118213134.GA8968@elf.ucw.cz> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 18, 2003 at 10:31:34PM +0100, Pavel Machek wrote: > > #define acpi_driver_data(d) ((d)->driver_data) > > ... very nice for obfuscating code ... sysfs-based buses use _{get,set}_drvdata, which looks exactly the same as this here. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/