Home
last modified time | relevance | path

Searched refs:I2C_MINORS (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/
H A Di2c-dev.c49 #define I2C_MINORS (MINORMASK + 1) macro
72 if (adap->nr >= I2C_MINORS) { in get_free_i2c_dev()
765 res = register_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS, "i2c"); in i2c_dev_init()
786 unregister_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS); in i2c_dev_init()
797 unregister_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS); in i2c_dev_exit()