Can class of linux device be NULL?

Posted by Basilevs on Stack Overflow See other posts from Stack Overflow or by Basilevs
Published on 2010-05-31T11:30:11Z Indexed on 2010/05/31 11:32 UTC
Read the original article Hit count: 223

Filed under:

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?

© Stack Overflow or respective owner

Related posts about linux-device-driver