views:

15

answers:

0

Can I pass NULL pointer to the first argument of device_create function?

I'm using device_create() to create character device file in sysfs. This file don't represent any physical device (it is used to provide an access to a set of devices connected to various buses). What class should I use with device_create() to create such a file?