Searched refs:mlxplat_dev (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/platform/x86/ |
D | mlx-platform.c | 1352 static struct platform_device *mlxplat_dev; variable 1600 mlxplat_dev = platform_device_register_simple(MLX_PLAT_DEVICE_NAME, -1, in mlxplat_init() 1604 if (IS_ERR(mlxplat_dev)) in mlxplat_init() 1605 return PTR_ERR(mlxplat_dev); in mlxplat_init() 1607 priv = devm_kzalloc(&mlxplat_dev->dev, sizeof(struct mlxplat_priv), in mlxplat_init() 1613 platform_set_drvdata(mlxplat_dev, priv); in mlxplat_init() 1629 &mlxplat_dev->dev, in mlxplat_init() 1639 mlxplat_mlxcpld_regmap_ctx.base = devm_ioport_map(&mlxplat_dev->dev, in mlxplat_init() 1646 mlxplat_hotplug->regmap = devm_regmap_init(&mlxplat_dev->dev, NULL, in mlxplat_init() 1655 &mlxplat_dev->dev, "mlxreg-hotplug", in mlxplat_init() [all …]
|