drm: xilinx: Fix the kernel-doc warnings

Fix the kernel-doc warnings by fixing the initial short description
of structures.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drm: xilinx: drv: Don't return the error code in xilinx_drm_format_bpp()

The given format can't be invalid, so there's no need to return
the error code.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: zynq: Migrate to of_property_read_*

Convert the last call to of_get_property() to of_property_read_*().
Which also allows to get rid of the now unused 'prop' variable and makes
initialization of 'ret' unnecessary.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: zynq: Remove useless variable initializers

Remove a few variable initializers, which are not required since the
variables get properly assigned before they are used.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: zynq: Convert clock frequency related data types

Convert clock frequency related variables to 'unsigned long' to avoid
type casts and match the return type of the CCF.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: zynq: Change data types of variables

Make some variable's data types match the data type they are compared
with in some if-statement.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: zynq: Code clean up

Fix some style issues and remove redunant pieces.
Update copyright notice.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
I2C: zynq: Identify as 'Zynq I2C'

Avoid confusion with Xilinx soft IP and identify as Zynq I2C controller.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>