[PATCH 1/4 V6] workqueue: Reorder sysfs code

2015-04-02 Thread Lai Jiangshan
From: Frederic Weisbecker The sysfs code usually belongs to the botom of the file since it deals with high level objects. In the workqueue code it's misplaced and such that we'll need to work around functions references to allow the sysfs code to call APIs like apply_workqueue_attrs(). Lets move

Re: [PATCH 1/4 V6] workqueue: Reorder sysfs code

2015-04-06 Thread Tejun Heo
On Thu, Apr 02, 2015 at 07:14:39PM +0800, Lai Jiangshan wrote: > From: Frederic Weisbecker > > The sysfs code usually belongs to the botom of the file since it deals > with high level objects. In the workqueue code it's misplaced and such > that we'll need to work around functions references to a