Re: [PATCH v3 1/3] Staging: IndustryPack bus for the Linux Kernel

From: Manohar Vanga
Date: Tue May 08 2012 - 04:04:30 EST


Hey Samuel,

> [snip]
>
> +#define to_ipack_dev(device) container_of(device, struct ipack_device, dev)
>
> [snip]
>
> +#define to_ipack_driver(drv) container_of(drv, struct ipack_driver, driver)

These don't need to be public as only your bus driver uses them. You can move this
into the .c file.

--
/manohar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/