Lines Matching +full:haptic +full:- +full:driver
1 // SPDX-License-Identifier: GPL-2.0
3 * CS40L50 Advanced Haptic Driver with waveform memory,
4 * integrated DSP, and closed-loop algorithms
18 cs40l50 = devm_kzalloc(&spi->dev, sizeof(*cs40l50), GFP_KERNEL); in cs40l50_spi_probe()
20 return -ENOMEM; in cs40l50_spi_probe()
24 cs40l50->dev = &spi->dev; in cs40l50_spi_probe()
25 cs40l50->irq = spi->irq; in cs40l50_spi_probe()
27 cs40l50->regmap = devm_regmap_init_spi(spi, &cs40l50_regmap); in cs40l50_spi_probe()
28 if (IS_ERR(cs40l50->regmap)) in cs40l50_spi_probe()
29 return dev_err_probe(cs40l50->dev, PTR_ERR(cs40l50->regmap), in cs40l50_spi_probe()
55 .driver = {
66 MODULE_DESCRIPTION("CS40L50 SPI Driver");