[patches 3/12] pcmcia: rsrc_nonstatic: sysfs output

Christoph Hellwig hch at infradead.org
Fri Feb 11 11:30:35 EST 2005


> +static int __devinit pccard_sysfs_add_rsrc(struct class_device *class_dev)
> +{
> +        struct pcmcia_socket *s = class_get_devdata(class_dev);
> +	struct class_device_attribute **attr;

whitespace damage

> +static void __devexit pccard_sysfs_remove_rsrc(struct class_device *class_dev)
> +{
> +        struct pcmcia_socket *s = class_get_devdata(class_dev);
> +	struct class_device_attribute **attr;

dito

> +static int __init nonstatic_sysfs_init(void) {
> +	return class_interface_register(&pccard_rsrc_interface);
> +}
> +
> +static void __exit nonstatic_sysfs_exit(void) {
> +	class_interface_unregister(&pccard_rsrc_interface);
> +}

wrong placement if the opening brace




More information about the linux-pcmcia mailing list