Re: [PATCH V4 3/6] misc/pvpanic: add API for pvpanic driver framework

2019-01-24 Thread Andy Shevchenko
On Thu, Jan 24, 2019 at 10:17 AM Peng Hao wrote: > > Add pvpanic_add/remove_device API. Follow-up patches will use them to > add/remove specific drivers into framework. I'm not sure this is the best way to instantiate the drivers. Code with platfrom_device_add*() is related to platform which ins

[PATCH V4 3/6] misc/pvpanic: add API for pvpanic driver framework

2019-01-24 Thread Peng Hao
Add pvpanic_add/remove_device API. Follow-up patches will use them to add/remove specific drivers into framework. Signed-off-by: Peng Hao --- drivers/misc/pvpanic/pvpanic.c | 47 ++ drivers/misc/pvpanic/pvpanic.h | 15 ++ 2 files changed, 58 in