Searched refs:new_custom (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/iio/temperature/
H A Dltc2983.c419 struct ltc2983_custom_sensor *new_custom; local
439 new_custom = devm_kzalloc(dev, sizeof(*new_custom), GFP_KERNEL);
440 if (!new_custom)
443 new_custom->size = n_entries * n_size;
445 if (is_steinhart && new_custom->size != LTC2983_CUSTOM_STEINHART_SIZE) {
446 dev_err(dev, "Steinhart sensors size(%zu) must be %u\n", new_custom->size,
451 if (st->custom_table_size + new_custom->size >
455 st->custom_table_size, new_custom->size);
461 new_custom
[all...]

Completed in 116 milliseconds